Cucumber Features

Expand All

Collapse All

# Copyright (c) 2015 SUSE LLC
# Licensed under the terms of the MIT license.
@javascript @init_once

Feature: Create initial users

In Order to run the tests
As a testing users
I need to create the admin and a testing users

@firstfeatures/init_user_create.feature:11

Scenario: Create Admin users and first org

  1. Given I access the host the first time
    features/step_definitions/access_steps.rb:13
  2. This scenario ran at: 2016-10-25 12:19:01 +0000
  3. When I go to the home page
    features/step_definitions/access_steps.rb:9
  4. And I enter "SUSE Test" as "orgName"
    features/step_definitions/navigation_steps.rb:37
  5. And I enter "admin" as "login"
    features/step_definitions/navigation_steps.rb:37
  6. And I enter "admin" as "desiredpassword"
    features/step_definitions/navigation_steps.rb:37
  7. And I enter "admin" as "desiredpasswordConfirm"
    features/step_definitions/navigation_steps.rb:37
  8. And I select "Mr." from "prefix"
    features/step_definitions/navigation_steps.rb:26
  9. And I enter "Admin" as "firstNames"
    features/step_definitions/navigation_steps.rb:37
  10. And I enter "Admin" as "lastName"
    features/step_definitions/navigation_steps.rb:37
  11. And I enter "galaxy-noise@suse.de" as "email"
    features/step_definitions/navigation_steps.rb:37
  12. And I click on "Create Organization"
    features/step_definitions/navigation_steps.rb:50
  13. Then I am logged-in
    features/step_definitions/log_in_out_steps.rb:28
@thirdfeatures/init_user_create.feature:26

Scenario: Create Testing username

  1. Given I am authorized as "admin" with password "admin"
    features/step_definitions/log_in_out_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:19:04 +0000
  3. When I go to the users page
    features/step_definitions/log_in_out_steps.rb:38
  4. And I follow "Create User"
    features/step_definitions/navigation_steps.rb:61
  5. And I enter "testing" as "login"
    features/step_definitions/navigation_steps.rb:37
  6. And I enter "testing" as "desiredpassword"
    features/step_definitions/navigation_steps.rb:37
  7. And I enter "testing" as "desiredpasswordConfirm"
    features/step_definitions/navigation_steps.rb:37
  8. And I select "Mr." from "prefix"
    features/step_definitions/navigation_steps.rb:26
  9. And I enter "Test" as "firstNames"
    features/step_definitions/navigation_steps.rb:37
  10. And I enter "User" as "lastName"
    features/step_definitions/navigation_steps.rb:37
  11. And I enter "galaxy-noise@suse.de" as "email"
    features/step_definitions/navigation_steps.rb:37
  12. And I click on "Create Login"
    features/step_definitions/navigation_steps.rb:50
  13. Then I should see a "Account testing created, login information sent to galaxy-noise@suse.de" text
    features/step_definitions/content_steps.rb:20
  14. And I should see a "testing" link
    features/step_definitions/content_steps.rb:62
@fourthfeatures/init_user_create.feature:42

Scenario: Grant Testing user admin priviledges

  1. Given I am authorized as "admin" with password "admin"
    features/step_definitions/log_in_out_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:19:07 +0000
  3. When I go to the users page
    features/step_definitions/log_in_out_steps.rb:38
  4. And I follow "testing"
    features/step_definitions/navigation_steps.rb:61
  5. And I check "role_org_admin"
    features/step_definitions/navigation_steps.rb:18
  6. And I check "role_system_group_admin"
    features/step_definitions/navigation_steps.rb:18
  7. And I check "role_channel_admin"
    features/step_definitions/navigation_steps.rb:18
  8. And I check "role_activation_key_admin"
    features/step_definitions/navigation_steps.rb:18
  9. And I check "role_config_admin"
    features/step_definitions/navigation_steps.rb:18
  10. And I click on "Update"
    features/step_definitions/navigation_steps.rb:50
  11. Then I should see a "User information updated" text
    features/step_definitions/content_steps.rb:20
  12. And I should see a "testing" text
    features/step_definitions/content_steps.rb:20
features/init_user_create.feature:55

Scenario: wait for mgr-sync refresh finished

  1. Then I wait for mgr-sync refresh is finished
    features/step_definitions/command_steps.rb:151
  2. This scenario ran at: 2016-10-25 12:19:09 +0000
features/init_user_create.feature:58

Scenario: check services which should run

  1. Then Service "atftpd" is enabled on the Server
    features/step_definitions/command_steps.rb:167
  2. This scenario ran at: 2016-10-25 12:24:27 +0000
  3. And Service "atftpd" is running on the Server
    features/step_definitions/command_steps.rb:173
  4. And Service "auditlog-keeper" is enabled on the Server
    features/step_definitions/command_steps.rb:167
  5. And Service "auditlog-keeper" is running on the Server
    features/step_definitions/command_steps.rb:173
  6. And Service "cobblerd" is enabled on the Server
    features/step_definitions/command_steps.rb:167
  7. And Service "cobblerd" is running on the Server
    features/step_definitions/command_steps.rb:173
  8. And Service "jabberd" is enabled on the Server
    features/step_definitions/command_steps.rb:167
  9. And Service "jabberd" is running on the Server
    features/step_definitions/command_steps.rb:173
  10. And Service "osa-dispatcher" is enabled on the Server
    features/step_definitions/command_steps.rb:167
  11. And Service "osa-dispatcher" is running on the Server
    features/step_definitions/command_steps.rb:173
  12. And Service "rhn-search" is enabled on the Server
    features/step_definitions/command_steps.rb:167
  13. And Service "rhn-search" is running on the Server
    features/step_definitions/command_steps.rb:173
  14. And Service "salt-api" is enabled on the Server
    features/step_definitions/command_steps.rb:167
  15. And Service "salt-api" is running on the Server
    features/step_definitions/command_steps.rb:173
  16. And Service "salt-master" is enabled on the Server
    features/step_definitions/command_steps.rb:167
  17. And Service "salt-master" is running on the Server
    features/step_definitions/command_steps.rb:173
  18. And Service "taskomatic" is enabled on the Server
    features/step_definitions/command_steps.rb:167
  19. And Service "taskomatic" is running on the Server
    features/step_definitions/command_steps.rb:173
  20. And Service "apache2" is enabled on the Server
    features/step_definitions/command_steps.rb:167
  21. And Service "apache2" is running on the Server
    features/step_definitions/command_steps.rb:173
  22. And Service "tomcat" is enabled on the Server
    features/step_definitions/command_steps.rb:167
  23. And Service "tomcat" is running on the Server
    features/step_definitions/command_steps.rb:173
# Copyright 2015 SUSE LLC
# Licensed under the terms of the MIT license.

Feature: I want to setup the HTTP proxy

features/setup_proxy.feature:6

Scenario: I want to test the proxy setup

  1. Given I am on the Admin page
    features/step_definitions/adminpage_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:24:30 +0000
  3. And I should see a "HTTP Proxy Hostname" text
    features/step_definitions/content_steps.rb:20
  4. And I should see a "HTTP Proxy Username" text
    features/step_definitions/content_steps.rb:20
  5. And I should see a "HTTP Proxy Password" text
    features/step_definitions/content_steps.rb:20
  6. When I enter "galaxy-proxy.mgr.suse.de:3128" as "HTTP Proxy Hostname"
    features/step_definitions/navigation_steps.rb:37
  7. And I enter "suma" as "HTTP Proxy Username"
    features/step_definitions/navigation_steps.rb:37
  8. And I enter "P4$$word" as "HTTP Proxy Password"
    features/step_definitions/navigation_steps.rb:37
  9. And I click on "Save and Verify"
    features/step_definitions/navigation_steps.rb:50
  10. Then I see verification succeeded
    features/step_definitions/setup_wizard.rb:75
# Copyright (c) 2015 SUSE LLC
# Licensed under the terms of the MIT license.

Feature: The host is running

In order to see if the host is running
As an unauthorized user
I want to see the Login page and unprotected contents

features/running.feature:9

Scenario: Accessing the Login page

  1. Given I am not authorized
    features/step_definitions/access_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:24:33 +0000
  3. When I go to the home page
    features/step_definitions/access_steps.rb:9
  4. Then I should see something
    features/step_definitions/content_steps.rb:4
features/running.feature:14

Scenario: Accessing the About page

  1. Given I am not authorized
    features/step_definitions/access_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:24:33 +0000
  3. When I go to the home page
    features/step_definitions/access_steps.rb:9
  4. And I follow "About"
    features/step_definitions/navigation_steps.rb:61
  5. Then I should see a "About SUSE Manager" text
    features/step_definitions/content_steps.rb:20
features/running.feature:20

Scenario: Accessing the Copyright Notice

  1. Given I am not authorized
    features/step_definitions/access_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:24:34 +0000
  3. When I go to the home page
    features/step_definitions/access_steps.rb:9
  4. And I follow "Copyright Notice"
    features/step_definitions/navigation_steps.rb:61
  5. Then I should see a "Copyright (c) 2011 - 2015 SUSE LLC." text
    features/step_definitions/content_steps.rb:20
features/running.feature:26

Scenario: Accessing the EULA

  1. Given I am not authorized
    features/step_definitions/access_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:24:34 +0000
  3. When I go to the home page
    features/step_definitions/access_steps.rb:9
  4. And I follow "Copyright Notice"
    features/step_definitions/navigation_steps.rb:61
  5. And I follow "SUSE MANAGER LICENSE AGREEMENT"
    features/step_definitions/navigation_steps.rb:61
  6. Then I should see a "SUSE Manager License Agreement" text
    features/step_definitions/content_steps.rb:20
# Copyright (c) 2015 SUSE LLC
# Licensed under the terms of the MIT license.

Feature: Log in and out of the host

In Order to log into the host
As a non-authorized user
I want to log in
Then I should be an authorized user

features/login.feature:10

Scenario: Log into the host

  1. Given I am not authorized
    features/step_definitions/access_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:24:35 +0000
  3. When I go to the home page
    features/step_definitions/access_steps.rb:9
  4. And I enter "testing" as "username"
    features/step_definitions/navigation_steps.rb:37
  5. And I enter "testing" as "password"
    features/step_definitions/navigation_steps.rb:37
  6. And I click on "Sign In"
    features/step_definitions/navigation_steps.rb:50
  7. Then I should be logged in
    features/step_definitions/log_in_out_steps.rb:24
features/login.feature:18

Scenario: Log out of the host

  1. Given I am authorized
    features/step_definitions/log_in_out_steps.rb:12
  2. This scenario ran at: 2016-10-25 12:24:36 +0000
  3. When I sign out
    features/step_definitions/log_in_out_steps.rb:16
  4. Then I should not be authorized
    features/step_definitions/log_in_out_steps.rb:20
# Copyright (c) 2015 SUSE LLC
# Licensed under the terms of the MIT license.

Feature: Explore the main landing page

In Order to validate completeness of the landing page
As a authorized user
I want to see all the options and preferences

features/mainpage.feature:9

Scenario: Completeness of the toplevel bar

  1. Given I am authorized
    features/step_definitions/log_in_out_steps.rb:12
  2. This scenario ran at: 2016-10-25 12:24:36 +0000
  3. When I go to the home page
    features/step_definitions/access_steps.rb:9
  4. And I should see a "User" text
    features/step_definitions/content_steps.rb:20
  5. And I should see a "Organization" text
    features/step_definitions/content_steps.rb:20
  6. And I should see a "Preferences" link
    features/step_definitions/content_steps.rb:62
  7. And I should see a Sign Out link
    features/step_definitions/content_steps.rb:260
features/mainpage.feature:17

Scenario: Completeness of the main navigation bar

  1. Given I am authorized
    features/step_definitions/log_in_out_steps.rb:12
  2. This scenario ran at: 2016-10-25 12:24:37 +0000
  3. When I go to the home page
    features/step_definitions/access_steps.rb:9
  4. Then I should see a "Overview" link in the tab bar
    features/step_definitions/content_steps.rb:130
  5. And I should see a "Systems" link
    features/step_definitions/content_steps.rb:62
  6. And I should see a "Errata" link
    features/step_definitions/content_steps.rb:62
  7. And I should see a "Channels" link
    features/step_definitions/content_steps.rb:62
  8. And I should see a "Configuration" link
    features/step_definitions/content_steps.rb:62
  9. And I should see a "Schedule" link
    features/step_definitions/content_steps.rb:62
  10. And I should see a "Help" link
    features/step_definitions/content_steps.rb:62
features/mainpage.feature:28

Scenario: Completeness of the left sidebar

  1. Given I am authorized
    features/step_definitions/log_in_out_steps.rb:12
  2. This scenario ran at: 2016-10-25 12:24:38 +0000
  3. When I go to the home page
    features/step_definitions/access_steps.rb:9
  4. Then I should see a "Your Account" link in the left menu
    features/step_definitions/content_steps.rb:130
  5. And I should see a "Your Preferences" link in the left menu
    features/step_definitions/content_steps.rb:130
  6. And I should see a "Locale Preferences" link in the left menu
    features/step_definitions/content_steps.rb:130
  7. And I should see a "Your Organization" link in the left menu
    features/step_definitions/content_steps.rb:130
features/mainpage.feature:36

Scenario: Completeness of the main content

  1. Given I am authorized
    features/step_definitions/log_in_out_steps.rb:12
  2. This scenario ran at: 2016-10-25 12:24:39 +0000
  3. When I go to the home page
    features/step_definitions/access_steps.rb:9
  4. Then I should see a "Tasks" text
    features/step_definitions/content_steps.rb:20
  5. And I should see a "Inactive Systems" text
    features/step_definitions/content_steps.rb:20
  6. And I should see a "Most Critical Systems" text
    features/step_definitions/content_steps.rb:20
  7. And I should see a "Recently Scheduled Actions" text
    features/step_definitions/content_steps.rb:20
  8. And I should see a "Relevant Security Errata" text
    features/step_definitions/content_steps.rb:20
  9. And I should see a "System Group Name" text
    features/step_definitions/content_steps.rb:20
  10. And I should see a "Recently Registered Systems" text
    features/step_definitions/content_steps.rb:20
# Copyright (c) 2015 SUSE LLC
# Licensed under the terms of the MIT license.
#@wip

Feature: Adding channels

In Order distribute software to the clients
As an authorized user
I want to add channels

Background

  1. Given I am testing channels
    features/step_definitions/channels_steps.rb:7
  2. This scenario ran at: 2016-10-25 12:24:41 +0000
features/channels_add.feature:13

Scenario: Adding a base channel

  1. And I follow "Channels"
    features/step_definitions/navigation_steps.rb:61
  2. And I follow "Manage Software Channels" in the left menu
    features/step_definitions/navigation_steps.rb:116
  3. And I follow "Create Channel"
    features/step_definitions/navigation_steps.rb:61
  4. When I enter "Test Base Channel" as "Channel Name"
    features/step_definitions/navigation_steps.rb:37
  5. And I enter "test_base_channel" as "Channel Label"
    features/step_definitions/navigation_steps.rb:37
  6. And I select "None" from "Parent Channel"
    features/step_definitions/navigation_steps.rb:26
  7. And I select "x86_64" from "Architecture:"
    features/step_definitions/navigation_steps.rb:26
  8. And I enter "Base channel for testing" as "Channel Summary"
    features/step_definitions/navigation_steps.rb:37
  9. And I enter "No more desdcription for base channel." as "Channel Description"
    features/step_definitions/navigation_steps.rb:37
  10. And I click on "Create Channel"
    features/step_definitions/navigation_steps.rb:50
  11. Then I should see a "Channel Test Base Channel created." text
    features/step_definitions/content_steps.rb:20
features/channels_add.feature:26

Scenario: Adding a child channel

  1. And I follow "Channels"
    features/step_definitions/navigation_steps.rb:61
  2. This scenario ran at: 2016-10-25 12:24:44 +0000
  3. And I follow "Manage Software Channels" in the left menu
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "Create Channel"
    features/step_definitions/navigation_steps.rb:61
  5. When I enter "Test Child Channel" as "Channel Name"
    features/step_definitions/navigation_steps.rb:37
  6. And I enter "test_child_channel" as "Channel Label"
    features/step_definitions/navigation_steps.rb:37
  7. And I select "Test Base Channel" from "Parent Channel"
    features/step_definitions/navigation_steps.rb:26
  8. And I select "x86_64" from "Architecture:"
    features/step_definitions/navigation_steps.rb:26
  9. And I enter "Child channel for testing" as "Channel Summary"
    features/step_definitions/navigation_steps.rb:37
  10. And I enter "Description for Test Child Channel." as "Channel Description"
    features/step_definitions/navigation_steps.rb:37
  11. And I click on "Create Channel"
    features/step_definitions/navigation_steps.rb:50
  12. Then I should see a "Channel Test Child Channel created." text
    features/step_definitions/content_steps.rb:20
features/channels_add.feature:39

Scenario: Adding SLES11-SP3-Updates i586 base channel

  1. And I follow "Channels"
    features/step_definitions/navigation_steps.rb:61
  2. This scenario ran at: 2016-10-25 12:24:46 +0000
  3. And I follow "Manage Software Channels" in the left menu
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "Create Channel"
    features/step_definitions/navigation_steps.rb:61
  5. When I enter "SLES11-SP3-Updates i586 Channel" as "Channel Name"
    features/step_definitions/navigation_steps.rb:37
  6. And I enter "sles11-sp3-updates-i586-channel" as "Channel Label"
    features/step_definitions/navigation_steps.rb:37
  7. And I select "None" from "Parent Channel"
    features/step_definitions/navigation_steps.rb:26
  8. And I select "IA-32" from "Architecture:"
    features/step_definitions/navigation_steps.rb:26
  9. And I enter "SLES11-SP3-Updates i586 channel for testing" as "Channel Summary"
    features/step_definitions/navigation_steps.rb:37
  10. And I enter "No more desdcription for base channel." as "Channel Description"
    features/step_definitions/navigation_steps.rb:37
  11. And I click on "Create Channel"
    features/step_definitions/navigation_steps.rb:50
  12. Then I should see a "Channel SLES11-SP3-Updates i586 Channel created." text
    features/step_definitions/content_steps.rb:20
features/channels_add.feature:52

Scenario: Adding a child channel to SLES11-SP3-Updates i586

  1. And I follow "Channels"
    features/step_definitions/navigation_steps.rb:61
  2. This scenario ran at: 2016-10-25 12:24:47 +0000
  3. And I follow "Manage Software Channels" in the left menu
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "Create Channel"
    features/step_definitions/navigation_steps.rb:61
  5. When I enter "SLES11-SP3-Updates i586 Child Channel" as "Channel Name"
    features/step_definitions/navigation_steps.rb:37
  6. And I enter "sles11-sp3-updates-i586-child-channel" as "Channel Label"
    features/step_definitions/navigation_steps.rb:37
  7. And I select "SLES11-SP3-Updates i586 Channel" from "Parent Channel"
    features/step_definitions/navigation_steps.rb:26
  8. And I select "IA-32" from "Architecture:"
    features/step_definitions/navigation_steps.rb:26
  9. And I enter "SLES11-SP3-Updates i586 child channel for testing" as "Channel Summary"
    features/step_definitions/navigation_steps.rb:37
  10. And I enter "Description for SLES11-SP3-Updates i586 Child Channel." as "Channel Description"
    features/step_definitions/navigation_steps.rb:37
  11. And I click on "Create Channel"
    features/step_definitions/navigation_steps.rb:50
  12. Then I should see a "Channel SLES11-SP3-Updates i586 Child Channel created." text
    features/step_definitions/content_steps.rb:20
features/channels_add.feature:65

Scenario: Adding SLES11-SP3-Updates x86_64 base channel

  1. And I follow "Channels"
    features/step_definitions/navigation_steps.rb:61
  2. This scenario ran at: 2016-10-25 12:24:49 +0000
  3. And I follow "Manage Software Channels" in the left menu
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "Create Channel"
    features/step_definitions/navigation_steps.rb:61
  5. When I enter "SLES11-SP3-Updates x86_64 Channel" as "Channel Name"
    features/step_definitions/navigation_steps.rb:37
  6. And I enter "sles11-sp3-updates-x86_64-channel" as "Channel Label"
    features/step_definitions/navigation_steps.rb:37
  7. And I select "None" from "Parent Channel"
    features/step_definitions/navigation_steps.rb:26
  8. And I select "x86_64" from "Architecture:"
    features/step_definitions/navigation_steps.rb:26
  9. And I enter "SLES11-SP3-Updates x86_64 channel for testing" as "Channel Summary"
    features/step_definitions/navigation_steps.rb:37
  10. And I enter "No more desdcription for base channel." as "Channel Description"
    features/step_definitions/navigation_steps.rb:37
  11. And I click on "Create Channel"
    features/step_definitions/navigation_steps.rb:50
  12. Then I should see a "Channel SLES11-SP3-Updates x86_64 Channel created." text
    features/step_definitions/content_steps.rb:20
features/channels_add.feature:78

Scenario: Adding a child channel to SLES11-SP3-Updates x86_64

  1. And I follow "Channels"
    features/step_definitions/navigation_steps.rb:61
  2. This scenario ran at: 2016-10-25 12:24:51 +0000
  3. And I follow "Manage Software Channels" in the left menu
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "Create Channel"
    features/step_definitions/navigation_steps.rb:61
  5. When I enter "SLES11-SP3-Updates x86_64 Child Channel" as "Channel Name"
    features/step_definitions/navigation_steps.rb:37
  6. And I enter "sles11-sp3-updates-x86_64-child-channel" as "Channel Label"
    features/step_definitions/navigation_steps.rb:37
  7. And I select "SLES11-SP3-Updates x86_64 Channel" from "Parent Channel"
    features/step_definitions/navigation_steps.rb:26
  8. And I select "x86_64" from "Architecture:"
    features/step_definitions/navigation_steps.rb:26
  9. And I enter "SLES11-SP3-Updates x86_64 child channel for testing" as "Channel Summary"
    features/step_definitions/navigation_steps.rb:37
  10. And I enter "Description for SLES11-SP3-Updates x86_64 Child Channel." as "Channel Description"
    features/step_definitions/navigation_steps.rb:37
  11. And I click on "Create Channel"
    features/step_definitions/navigation_steps.rb:50
  12. Then I should see a "Channel SLES11-SP3-Updates x86_64 Child Channel created." text
    features/step_definitions/content_steps.rb:20
features/channels_add.feature:91

Scenario: Adding Fedora x86_64 base channel

  1. And I follow "Channels"
    features/step_definitions/navigation_steps.rb:61
  2. This scenario ran at: 2016-10-25 12:24:53 +0000
  3. And I follow "Manage Software Channels" in the left menu
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "Create Channel"
    features/step_definitions/navigation_steps.rb:61
  5. When I enter "Fedora x86_64 Channel" as "Channel Name"
    features/step_definitions/navigation_steps.rb:37
  6. And I enter "fedora-x86_64-channel" as "Channel Label"
    features/step_definitions/navigation_steps.rb:37
  7. And I select "None" from "Parent Channel"
    features/step_definitions/navigation_steps.rb:26
  8. And I select "x86_64" from "Architecture:"
    features/step_definitions/navigation_steps.rb:26
  9. And I enter "Fedora x86_64 channel for testing" as "Channel Summary"
    features/step_definitions/navigation_steps.rb:37
  10. And I enter "No more description for base channel." as "Channel Description"
    features/step_definitions/navigation_steps.rb:37
  11. And I click on "Create Channel"
    features/step_definitions/navigation_steps.rb:50
  12. Then I should see a "Channel Fedora x86_64 Channel created." text
    features/step_definitions/content_steps.rb:20
features/channels_add.feature:104

Scenario: Adding a duplicate channel fails

  1. And I follow "Channels"
    features/step_definitions/navigation_steps.rb:61
  2. This scenario ran at: 2016-10-25 12:24:55 +0000
  3. And I follow "Manage Software Channels" in the left menu
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "Create Channel"
    features/step_definitions/navigation_steps.rb:61
  5. When I enter "Test Base Channel" as "Channel Name"
    features/step_definitions/navigation_steps.rb:37
  6. And I enter "test_base_channel" as "Channel Label"
    features/step_definitions/navigation_steps.rb:37
  7. And I select "None" from "Parent Channel"
    features/step_definitions/navigation_steps.rb:26
  8. And I select "x86_64" from "Architecture:"
    features/step_definitions/navigation_steps.rb:26
  9. And I enter "Base channel for testing" as "Channel Summary"
    features/step_definitions/navigation_steps.rb:37
  10. And I enter "No more desdcription for base channel." as "Channel Description"
    features/step_definitions/navigation_steps.rb:37
  11. And I click on "Create Channel"
    features/step_definitions/navigation_steps.rb:50
  12. Then I should see a "The channel name 'Test Base Channel' is already in use, please enter a different name" text
    features/step_definitions/content_steps.rb:20
features/channels_add.feature:117

Scenario: I am not allowed to use invalid characters in the channel label

  1. And I follow "Channels"
    features/step_definitions/navigation_steps.rb:61
  2. This scenario ran at: 2016-10-25 12:24:58 +0000
  3. And I follow "Manage Software Channels" in the left menu
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "Create Channel"
    features/step_definitions/navigation_steps.rb:61
  5. When I enter "test123" as "Channel Name"
    features/step_definitions/navigation_steps.rb:37
  6. And I enter "tesT123" as "Channel Label"
    features/step_definitions/navigation_steps.rb:37
  7. And I enter "test123" as "Channel Summary"
    features/step_definitions/navigation_steps.rb:37
  8. And I click on "Create Channel"
    features/step_definitions/navigation_steps.rb:50
  9. Then I should see a "Invalid channel label, please see the format described below" text
    features/step_definitions/content_steps.rb:20
features/channels_add.feature:127

Scenario: I am not allowed to invalid characters in the channel name

  1. And I follow "Channels"
    features/step_definitions/navigation_steps.rb:61
  2. This scenario ran at: 2016-10-25 12:25:00 +0000
  3. And I follow "Manage Software Channels" in the left menu
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "Create Channel"
    features/step_definitions/navigation_steps.rb:61
  5. When I enter "!test123" as "Channel Name"
    features/step_definitions/navigation_steps.rb:37
  6. And I enter "test123" as "Channel Label"
    features/step_definitions/navigation_steps.rb:37
  7. And I enter "test123" as "Channel Summary"
    features/step_definitions/navigation_steps.rb:37
  8. And I click on "Create Channel"
    features/step_definitions/navigation_steps.rb:50
  9. Then I should see a "Invalid channel name, please see the format described below" text
    features/step_definitions/content_steps.rb:20
features/channels_add.feature:137

Scenario: I am not allowed to use a reserved name

  1. And I follow "Channels"
    features/step_definitions/navigation_steps.rb:61
  2. This scenario ran at: 2016-10-25 12:25:02 +0000
  3. And I follow "Manage Software Channels" in the left menu
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "Create Channel"
    features/step_definitions/navigation_steps.rb:61
  5. When I enter "SLE-12-Cloud-Compute5-Pool for x86_64" as "Channel Name"
    features/step_definitions/navigation_steps.rb:37
  6. And I enter "test123" as "Channel Label"
    features/step_definitions/navigation_steps.rb:37
  7. And I enter "test123" as "Channel Summary"
    features/step_definitions/navigation_steps.rb:37
  8. And I click on "Create Channel"
    features/step_definitions/navigation_steps.rb:50
  9. Then I should see a "The channel name 'SLE-12-Cloud-Compute5-Pool for x86_64' is reserved, please enter a different name" text
    features/step_definitions/content_steps.rb:20
features/channels_add.feature:147

Scenario: I am not allowed to use a reserved label

  1. And I follow "Channels"
    features/step_definitions/navigation_steps.rb:61
  2. This scenario ran at: 2016-10-25 12:25:04 +0000
  3. And I follow "Manage Software Channels" in the left menu
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "Create Channel"
    features/step_definitions/navigation_steps.rb:61
  5. When I enter "test123" as "Channel Name"
    features/step_definitions/navigation_steps.rb:37
  6. And I enter "sle-we12-pool-x86_64-sap" as "Channel Label"
    features/step_definitions/navigation_steps.rb:37
  7. And I enter "test123" as "Channel Summary"
    features/step_definitions/navigation_steps.rb:37
  8. And I click on "Create Channel"
    features/step_definitions/navigation_steps.rb:50
  9. Then I should see a "The channel label 'sle-we12-pool-x86_64-sap' is reserved, please enter a different name" text
    features/step_definitions/content_steps.rb:20
features/channels_add.feature:157

Scenario: I create a channel to change

  1. And I follow "Channels"
    features/step_definitions/navigation_steps.rb:61
  2. This scenario ran at: 2016-10-25 12:25:05 +0000
  3. And I follow "Manage Software Channels" in the left menu
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "Create Channel"
    features/step_definitions/navigation_steps.rb:61
  5. When I enter "aaaSLE-12-Cloud-Compute5-Pool for x86_64" as "Channel Name"
    features/step_definitions/navigation_steps.rb:37
  6. And I enter "sle-we12aaa-pool-x86_64-sap" as "Channel Label"
    features/step_definitions/navigation_steps.rb:37
  7. And I enter "test123" as "Channel Summary"
    features/step_definitions/navigation_steps.rb:37
  8. And I click on "Create Channel"
    features/step_definitions/navigation_steps.rb:50
  9. Then I should see a "Channel aaaSLE-12-Cloud-Compute5-Pool for x86_64 created." text
    features/step_definitions/content_steps.rb:20
features/channels_add.feature:167

Scenario: I try to change the channel name to a reserved name

  1. And I follow "Channels"
    features/step_definitions/navigation_steps.rb:61
  2. This scenario ran at: 2016-10-25 12:25:07 +0000
  3. And I follow "Manage Software Channels" in the left menu
    features/step_definitions/navigation_steps.rb:116
  4. When I follow "aaaSLE-12-Cloud-Compute5-Pool for x86_64"
    features/step_definitions/navigation_steps.rb:61
  5. And I enter "SLE-12-Cloud-Compute5-Pool for x86_64" as "Channel Name"
    features/step_definitions/navigation_steps.rb:37
  6. And I click on "Update Channel"
    features/step_definitions/navigation_steps.rb:50
  7. Then I should see a "The channel name 'SLE-12-Cloud-Compute5-Pool for x86_64' is reserved, please enter a different name" text
    features/step_definitions/content_steps.rb:20
# Copyright (c) 2015 SUSE LLC
# Licensed under the terms of the MIT license.

Feature: Push a package with unset vendor

In Order distribute software to the clients
As an authorized user
I want to push a package with unset vendor

features/push_package.feature:9

Scenario: download the SSL certificate

  1. Given I am root
    features/step_definitions/register_client_steps.rb:3
  2. This scenario ran at: 2016-10-25 12:25:08 +0000
  3. Then I download the SSL certificate
    features/step_definitions/common_steps.rb:12
features/push_package.feature:13

Scenario: push a package with unset vendor

  1. Given I am root
    features/step_definitions/register_client_steps.rb:3
  2. This scenario ran at: 2016-10-25 12:25:09 +0000
  3. When I push package "/root/subscription-tools-1.0-0.noarch.rpm" into "test_base_channel" channel
    features/step_definitions/channels_steps.rb:41
  4. Then I should see package "subscription-tools-1.0-0.noarch" in channel "Test Base Channel"
    features/step_definitions/channels_steps.rb:48
features/push_package.feature:18

Scenario: Check Vendor of Package displayed in WebUI

  1. Given I am authorized as "admin" with password "admin"
    features/step_definitions/log_in_out_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:25:12 +0000
  3. When I follow "Channels"
    features/step_definitions/navigation_steps.rb:61
  4. And I follow "Test Base Channel"
    features/step_definitions/navigation_steps.rb:61
  5. And I follow "Packages"
    features/step_definitions/navigation_steps.rb:61
  6. And I follow "subscription-tools-1.0-0.noarch"
    features/step_definitions/navigation_steps.rb:61
  7. Then I should see a "Vendor:" text
    features/step_definitions/content_steps.rb:20
  8. And I should see a "Not defined" text
    features/step_definitions/content_steps.rb:20
features/push_package.feature:27

Scenario: Push anaconda package in fedora channel

  1. Given I am root
    features/step_definitions/register_client_steps.rb:3
  2. This scenario ran at: 2016-10-25 12:25:13 +0000
  3. When I push package "/root/anaconda-18.37.11-1.fc18.x86_64.rpm" into "fedora-x86_64-channel" channel
    features/step_definitions/channels_steps.rb:41
  4. Then I should see package "anaconda-18.37.11-1.fc18.x86_64" in channel "Fedora x86_64 Channel"
    features/step_definitions/channels_steps.rb:48
# Copyright (c) 2015 SUSE LLC
# Licensed under the terms of the MIT license.

Feature: Adding repository to a channel

In Order distribute software to the clients
As an authorized user
I want to add a repository
And I want to add this repository to the base channel

features/create_repository.feature:10

Scenario: Adding SLES11-SP3-Updates-x86_64 repository

  1. Given I am authorized as "testing" with password "testing"
    features/step_definitions/log_in_out_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:25:16 +0000
  3. And I follow "Channels"
    features/step_definitions/navigation_steps.rb:61
  4. And I follow "Manage Software Channels" in the left menu
    features/step_definitions/navigation_steps.rb:116
  5. And I follow "Manage Repositories" in the left menu
    features/step_definitions/navigation_steps.rb:116
  6. And I follow "Create Repository"
    features/step_definitions/navigation_steps.rb:61
  7. When I enter "SLES11-SP3-Updates-x86_64" as "label"
    features/step_definitions/navigation_steps.rb:37
  8. And I enter "http://localhost/pub/TestRepo/" as "url"
    features/step_definitions/navigation_steps.rb:37
  9. And I click on "Create Repository"
    features/step_definitions/navigation_steps.rb:50
  10. Then I should see a "Repository created successfully" text
    features/step_definitions/content_steps.rb:20
  11. And I should see "metadataSigned" as checked
    features/step_definitions/content_steps.rb:208
features/create_repository.feature:22

Scenario: Disable Metadata check for SLES11-SP3-Updates-x86_64 repository

  1. Given I am authorized as "testing" with password "testing"
    features/step_definitions/log_in_out_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:25:17 +0000
  3. And I follow "Channels"
    features/step_definitions/navigation_steps.rb:61
  4. And I follow "Manage Software Channels" in the left menu
    features/step_definitions/navigation_steps.rb:116
  5. And I follow "Manage Repositories" in the left menu
    features/step_definitions/navigation_steps.rb:116
  6. And I follow "SLES11-SP3-Updates-x86_64"
    features/step_definitions/navigation_steps.rb:61
  7. When I uncheck "metadataSigned"
    features/step_definitions/navigation_steps.rb:22
  8. And I click on "Update Repository"
    features/step_definitions/navigation_steps.rb:50
  9. Then I should see a "Repository updated successfully" text
    features/step_definitions/content_steps.rb:20
  10. And I should see "metadataSigned" as unchecked
    features/step_definitions/content_steps.rb:215
features/create_repository.feature:33

Scenario: Add repository to the x86_64 channel

  1. Given I am authorized as "testing" with password "testing"
    features/step_definitions/log_in_out_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:25:18 +0000
  3. And I follow "Channels"
    features/step_definitions/navigation_steps.rb:61
  4. And I follow "Manage Software Channels" in the left menu
    features/step_definitions/navigation_steps.rb:116
  5. And I follow "SLES11-SP3-Updates x86_64 Channel"
    features/step_definitions/navigation_steps.rb:61
  6. And I follow "Repositories" in the content area
    features/step_definitions/navigation_steps.rb:116
  7. When I select the "SLES11-SP3-Updates-x86_64" repo
    features/step_definitions/content_steps.rb:176
  8. And I click on "Update Repositories"
    features/step_definitions/navigation_steps.rb:50
  9. Then I should see a "SLES11-SP3-Updates x86_64 Channel repository information was successfully updated" text
    features/step_definitions/content_steps.rb:20
features/create_repository.feature:43

Scenario: Sync the repository in the x86_64 channel

  1. Given I am authorized as "testing" with password "testing"
    features/step_definitions/log_in_out_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:25:20 +0000
  3. And I follow "Channels"
    features/step_definitions/navigation_steps.rb:61
  4. And I follow "Manage Software Channels" in the left menu
    features/step_definitions/navigation_steps.rb:116
  5. And I follow "SLES11-SP3-Updates x86_64 Channel"
    features/step_definitions/navigation_steps.rb:61
  6. And I follow "Repositories" in the content area
    features/step_definitions/navigation_steps.rb:116
  7. And I follow "Sync"
    features/step_definitions/navigation_steps.rb:61
  8. When I click on "Sync Now"
    features/step_definitions/navigation_steps.rb:50
  9. Then I should see a "Repository sync scheduled for SLES11-SP3-Updates x86_64 Channel." text
    features/step_definitions/content_steps.rb:20
features/create_repository.feature:53

Scenario: Adding SLES11-SP3-Updates-i586 repository

  1. Given I am authorized as "testing" with password "testing"
    features/step_definitions/log_in_out_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:25:22 +0000
  3. And I follow "Channels"
    features/step_definitions/navigation_steps.rb:61
  4. And I follow "Manage Software Channels" in the left menu
    features/step_definitions/navigation_steps.rb:116
  5. And I follow "Manage Repositories" in the left menu
    features/step_definitions/navigation_steps.rb:116
  6. And I follow "Create Repository"
    features/step_definitions/navigation_steps.rb:61
  7. When I enter "SLES11-SP3-Updates-i586" as "label"
    features/step_definitions/navigation_steps.rb:37
  8. And I enter "file:///srv/www/htdocs/pub/TestRepo/" as "url"
    features/step_definitions/navigation_steps.rb:37
  9. And I uncheck "metadataSigned"
    features/step_definitions/navigation_steps.rb:22
  10. And I click on "Create Repository"
    features/step_definitions/navigation_steps.rb:50
  11. Then I should see a "Repository created successfully" text
    features/step_definitions/content_steps.rb:20
features/create_repository.feature:65

Scenario: Add repository to the i586 channel

  1. Given I am authorized as "testing" with password "testing"
    features/step_definitions/log_in_out_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:25:23 +0000
  3. And I follow "Channels"
    features/step_definitions/navigation_steps.rb:61
  4. And I follow "Manage Software Channels" in the left menu
    features/step_definitions/navigation_steps.rb:116
  5. And I follow "SLES11-SP3-Updates i586 Channel"
    features/step_definitions/navigation_steps.rb:61
  6. And I follow "Repositories" in the content area
    features/step_definitions/navigation_steps.rb:116
  7. When I select the "SLES11-SP3-Updates-i586" repo
    features/step_definitions/content_steps.rb:176
  8. And I click on "Update Repositories"
    features/step_definitions/navigation_steps.rb:50
  9. Then I should see a "SLES11-SP3-Updates i586 Channel repository information was successfully updated" text
    features/step_definitions/content_steps.rb:20
features/create_repository.feature:75

Scenario: Sync the repository in the i586 channel

  1. Given I am authorized as "testing" with password "testing"
    features/step_definitions/log_in_out_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:25:25 +0000
  3. And I follow "Channels"
    features/step_definitions/navigation_steps.rb:61
  4. And I follow "Manage Software Channels" in the left menu
    features/step_definitions/navigation_steps.rb:116
  5. And I follow "SLES11-SP3-Updates i586 Channel"
    features/step_definitions/navigation_steps.rb:61
  6. And I follow "Repositories" in the content area
    features/step_definitions/navigation_steps.rb:116
  7. And I follow "Sync"
    features/step_definitions/navigation_steps.rb:61
  8. When I click on "Sync Now"
    features/step_definitions/navigation_steps.rb:50
  9. Then I should see a "Repository sync scheduled for SLES11-SP3-Updates i586 Channel." text
    features/step_definitions/content_steps.rb:20
# Copyright (c) 2010-2011 Novell, Inc.
# Licensed under the terms of the MIT license.

Feature: Explore the main landing page

In Order to validate completeness of the systems page
As a authorized user
I want to see all the texts and links

features/systemspage.feature:9

Scenario: Completeness of the side navigation bar and the content frame

  1. Given I am authorized
    features/step_definitions/log_in_out_steps.rb:12
  2. This scenario ran at: 2016-10-25 12:25:27 +0000
  3. When I follow "Systems"
    features/step_definitions/navigation_steps.rb:61
  4. Then I should see a "System Overview" text
    features/step_definitions/content_steps.rb:20
  5. And I should see a "No systems." text
    features/step_definitions/content_steps.rb:20
  6. And I should see a "Overview" link in the left menu
    features/step_definitions/content_steps.rb:130
  7. And I should see a "Systems" link in the left menu
    features/step_definitions/content_steps.rb:130
  8. And I should see a "System Groups" link in the left menu
    features/step_definitions/content_steps.rb:130
  9. And I should see a "System Set Manager" link in the left menu
    features/step_definitions/content_steps.rb:130
  10. And I should see a "Advanced Search" link in the left menu
    features/step_definitions/content_steps.rb:130
  11. And I should see a "Activation Keys" link in the left menu
    features/step_definitions/content_steps.rb:130
  12. And I should see a "Stored Profiles" link in the left menu
    features/step_definitions/content_steps.rb:130
  13. And I should see a "Custom System Info" link in the left menu
    features/step_definitions/content_steps.rb:130
  14. And I should see a "Kickstart" link in the left menu
    features/step_definitions/content_steps.rb:130
  15. And I should see a "View System Groups" link
    features/step_definitions/content_steps.rb:62
  16. And I should see a "Software Crashes" link in the left menu
    features/step_definitions/content_steps.rb:130
  17. And I should see a "Download CSV" link
    features/step_definitions/content_steps.rb:62
  18. And I should see a Sign Out link
    features/step_definitions/content_steps.rb:260
features/systemspage.feature:28

Scenario: Completeness of the main navigation bar

  1. Given I am authorized
    features/step_definitions/log_in_out_steps.rb:12
  2. This scenario ran at: 2016-10-25 12:25:28 +0000
  3. When I follow "Systems"
    features/step_definitions/navigation_steps.rb:61
  4. Then I should see a "Overview" link in the tab bar
    features/step_definitions/content_steps.rb:130
  5. And I should see a "Systems" link in the tab bar
    features/step_definitions/content_steps.rb:130
  6. And I should see a "Errata" link in the tab bar
    features/step_definitions/content_steps.rb:130
  7. And I should see a "Channels" link in the tab bar
    features/step_definitions/content_steps.rb:130
  8. And I should see a "Configuration" link in the tab bar
    features/step_definitions/content_steps.rb:130
  9. And I should see a "Schedule" link in the tab bar
    features/step_definitions/content_steps.rb:130
  10. And I should see a "Users" link in the tab bar
    features/step_definitions/content_steps.rb:130
  11. And I should see a "Help" link in the tab bar
    features/step_definitions/content_steps.rb:130
features/systemspage.feature:40

Scenario: Check sidebar link destination for Systems

  1. Given I am on the Systems page
    features/step_definitions/systemspage_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:25:29 +0000
  3. When I follow "Systems" in the left menu
    features/step_definitions/navigation_steps.rb:116
  4. Then I should see a "All" link in the left menu
    features/step_definitions/content_steps.rb:130
  5. And I should see a "Physical Systems" link in the left menu
    features/step_definitions/content_steps.rb:130
  6. And I should see a "Virtual Systems" link in the left menu
    features/step_definitions/content_steps.rb:130
  7. And I should see a "Out of Date" link in the left menu
    features/step_definitions/content_steps.rb:130
  8. And I should see a "Requiring Reboot" link in the left menu
    features/step_definitions/content_steps.rb:130
  9. And I should see a "Non Compliant" link in the left menu
    features/step_definitions/content_steps.rb:130
  10. And I should see a "Without System Type" link in the left menu
    features/step_definitions/content_steps.rb:130
  11. And I should see a "Ungrouped" link in the left menu
    features/step_definitions/content_steps.rb:130
  12. And I should see a "Inactive" link in the left menu
    features/step_definitions/content_steps.rb:130
  13. And I should see a "Recently Registered" link in the left menu
    features/step_definitions/content_steps.rb:130
  14. And I should see a "Proxy" link in the left menu
    features/step_definitions/content_steps.rb:130
    undefined method `visible?' for nil:NilClass (NoMethodError)
    ./features/step_definitions/content_steps.rb:67:in `/^I should see a "([^"]*)" link$/'
    ./features/step_definitions/content_steps.rb:139:in `block (2 levels) in '
    ./features/step_definitions/content_steps.rb:138:in `/^I should see a "([^"]*)" link in the (left menu|tab bar|tabs|content area)$/'
    features/systemspage.feature:53:in `And I should see a "Proxy" link in the left menu'
    65    sleep 40
    66    $stderr.puts "ERROR - try again"
    67    fail unless first(:link, debrand_string(arg1)).visible?
    68  else
    69    fail unless link.visible?
    70# gem install syntax to get syntax highlighting
  15. And I should see a "Duplicate Systems" link in the left menu
    features/step_definitions/content_steps.rb:130
  16. And I should see a "System Currency" link in the left menu
    features/step_definitions/content_steps.rb:130
  17. And I should see a "System Types" link in the left menu
    features/step_definitions/content_steps.rb:130
  18. And I should see a "Systems" text
    features/step_definitions/content_steps.rb:20
Screenshot
 
features/systemspage.feature:59

Scenario: Check sidebar link destination for Systems => Physical Systems

  1. Given I am on the Systems page
    features/step_definitions/systemspage_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:26:10 +0000
  3. And I follow "Systems" in the left menu
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "Physical Systems" in the left menu
    features/step_definitions/navigation_steps.rb:116
  5. Then I should see a "Physical Systems" text
    features/step_definitions/content_steps.rb:20
  6. And I should see a "No systems." text
    features/step_definitions/content_steps.rb:20
  7. And the current path is "/rhn/systems/PhysicalList.do"
    features/step_definitions/navigation_steps.rb:7
features/systemspage.feature:67

Scenario: Check sidebar link destination for Systems => Virtual Systems

  1. Given I am on the Systems page
    features/step_definitions/systemspage_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:26:12 +0000
  3. And I follow "Systems" in the left menu
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "Virtual Systems" in the left menu
    features/step_definitions/navigation_steps.rb:116
  5. Then I should see a "Virtual Systems" text
    features/step_definitions/content_steps.rb:20
  6. And I should see a "No Virtual Systems." text
    features/step_definitions/content_steps.rb:20
  7. And the current path is "/rhn/systems/VirtualSystemsList.do"
    features/step_definitions/navigation_steps.rb:7
features/systemspage.feature:75

Scenario: Check sidebar link destination for Systems => Out of Date

  1. Given I am on the Systems page
    features/step_definitions/systemspage_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:26:12 +0000
  3. And I follow "Systems" in the left menu
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "Out of Date" in the left menu
    features/step_definitions/navigation_steps.rb:116
  5. Then I should see a "Out of Date Systems" text
    features/step_definitions/content_steps.rb:20
  6. And I should see a "No systems." text
    features/step_definitions/content_steps.rb:20
  7. And the current path is "/rhn/systems/OutOfDate.do"
    features/step_definitions/navigation_steps.rb:7
features/systemspage.feature:83

Scenario: Check sidebar link destination for Systems => Requiring Reboot

  1. Given I am on the Systems page
    features/step_definitions/systemspage_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:26:13 +0000
  3. And I follow "Systems" in the left menu
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "Requiring Reboot" in the left menu
    features/step_definitions/navigation_steps.rb:116
  5. Then I should see a "Systems Requiring Reboot" text
    features/step_definitions/content_steps.rb:20
  6. And I should see a "No systems." text
    features/step_definitions/content_steps.rb:20
  7. And the current path is "/rhn/systems/RequiringReboot.do"
    features/step_definitions/navigation_steps.rb:7
features/systemspage.feature:91

Scenario: Check sidebar link destination for Systems => Non Compliant

  1. Given I am on the Systems page
    features/step_definitions/systemspage_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:26:14 +0000
  3. And I follow "Systems" in the left menu
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "Non Compliant" in the left menu
    features/step_definitions/navigation_steps.rb:116
  5. Then I should see a "Non Compliant Systems" text
    features/step_definitions/content_steps.rb:20
  6. And I should see a "No systems." text
    features/step_definitions/content_steps.rb:20
  7. And the current path is "/rhn/systems/ExtraPackagesSystems.do"
    features/step_definitions/navigation_steps.rb:7
features/systemspage.feature:99

Scenario: Check sidebar link destination for Systems => Without System Type

  1. Given I am on the Systems page
    features/step_definitions/systemspage_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:26:15 +0000
  3. And I follow "Systems" in the left menu
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "Without System Type" in the left menu
    features/step_definitions/navigation_steps.rb:116
  5. Then I should see a "Systems without System Type" text
    features/step_definitions/content_steps.rb:20
  6. And I should see a "No systems." text
    features/step_definitions/content_steps.rb:20
  7. And the current path is "/rhn/systems/Unentitled.do"
    features/step_definitions/navigation_steps.rb:7
features/systemspage.feature:107

Scenario: Check sidebar link destination for Systems => Ungrouped

  1. Given I am on the Systems page
    features/step_definitions/systemspage_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:26:17 +0000
  3. And I follow "Systems" in the left menu
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "Ungrouped" in the left menu
    features/step_definitions/navigation_steps.rb:116
  5. Then I should see a "Ungrouped Systems" text
    features/step_definitions/content_steps.rb:20
  6. And I should see a "No systems." text
    features/step_definitions/content_steps.rb:20
  7. And the current path is "/rhn/systems/Ungrouped.do"
    features/step_definitions/navigation_steps.rb:7
features/systemspage.feature:115

Scenario: Check sidebar link destination for Systems => Inactive

  1. Given I am on the Systems page
    features/step_definitions/systemspage_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:26:18 +0000
  3. And I follow "Systems" in the left menu
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "Inactive" in the left menu
    features/step_definitions/navigation_steps.rb:116
  5. Then I should see a "Inactive Systems" text
    features/step_definitions/content_steps.rb:20
  6. And I should see a "No systems." text
    features/step_definitions/content_steps.rb:20
  7. And the current path is "/rhn/systems/Inactive.do"
    features/step_definitions/navigation_steps.rb:7
features/systemspage.feature:123

Scenario: Check sidebar link destination for Systems => Recently Registered

  1. Given I am on the Systems page
    features/step_definitions/systemspage_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:26:19 +0000
  3. And I follow "Systems" in the left menu
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "Recently Registered" in the left menu
    features/step_definitions/navigation_steps.rb:116
  5. Then I should see a "Recently Registered Systems" text
    features/step_definitions/content_steps.rb:20
  6. And I should see a "No systems." text
    features/step_definitions/content_steps.rb:20
  7. And I should see a "View systems registered:" text
    features/step_definitions/content_steps.rb:20
  8. And the current path is "/rhn/systems/Registered.do"
    features/step_definitions/navigation_steps.rb:7
features/systemspage.feature:132

Scenario: Check sidebar link destination for Systems => Proxy

  1. Given I am on the Systems page
    features/step_definitions/systemspage_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:26:20 +0000
  3. And I follow "Systems" in the left menu
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "Proxy" in the left menu
    features/step_definitions/navigation_steps.rb:116
    Unable to find link "Proxy" (Capybara::ElementNotFound)
    ./features/step_definitions/navigation_steps.rb:66:in `rescue in block in '
    ./features/step_definitions/navigation_steps.rb:62:in `/^I follow "([^"]*)"$/'
    ./features/step_definitions/navigation_steps.rb:125:in `block (2 levels) in '
    ./features/step_definitions/navigation_steps.rb:124:in `/^I follow "([^"]*)" in the (.+)$/'
    features/systemspage.feature:135:in `And I follow "Proxy" in the left menu'
    64  rescue
    65    sleep 10
    66    click_link(debrand_string(text))
    67  end
    68end
    69# gem install syntax to get syntax highlighting
  5. Then I should see a "Proxy Servers" text
    features/step_definitions/content_steps.rb:20
  6. And I should see a "No systems." text
    features/step_definitions/content_steps.rb:20
  7. And the current path is "/rhn/systems/ProxyList.do"
    features/step_definitions/navigation_steps.rb:7
Screenshot
 
features/systemspage.feature:140

Scenario: Check sidebar link destination for Systems => Duplicate Systems

  1. Given I am on the Systems page
    features/step_definitions/systemspage_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:26:51 +0000
  3. And I follow "Systems" in the left menu
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "Duplicate Systems" in the left menu
    features/step_definitions/navigation_steps.rb:116
  5. Then I should see a "Duplicate System Profiles" text
    features/step_definitions/content_steps.rb:20
  6. And I should see a "No systems." text
    features/step_definitions/content_steps.rb:20
  7. And the current path is "/rhn/systems/DuplicateIPList.do"
    features/step_definitions/navigation_steps.rb:7
  8. And I should see a "Duplicate IP Address" link
    features/step_definitions/content_steps.rb:62
  9. And I should see a "Duplicate Hostname" link
    features/step_definitions/content_steps.rb:62
  10. And I should see a "Duplicate IPv6 Address" link
    features/step_definitions/content_steps.rb:62
  11. And I should see a "Duplicate MAC Address" link
    features/step_definitions/content_steps.rb:62
features/systemspage.feature:152

Scenario: Check sidebar link destination for Systems => System Currency

  1. Given I am on the Systems page
    features/step_definitions/systemspage_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:26:52 +0000
  3. And I follow "Systems" in the left menu
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "System Currency" in the left menu
    features/step_definitions/navigation_steps.rb:116
  5. Then I should see a "System Currency Report" text
    features/step_definitions/content_steps.rb:20
  6. And I should see a "No systems." text
    features/step_definitions/content_steps.rb:20
  7. And the current path is "/rhn/systems/SystemCurrency.do"
    features/step_definitions/navigation_steps.rb:7
features/systemspage.feature:160

Scenario: Check sidebar link destination for Systems => System Types

  1. Given I am on the Systems page
    features/step_definitions/systemspage_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:26:53 +0000
  3. And I follow "Systems" in the left menu
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "System Types" in the left menu
    features/step_definitions/navigation_steps.rb:116
  5. Then I should see a "System Types" text
    features/step_definitions/content_steps.rb:20
  6. And I should see a "Management:" text
    features/step_definitions/content_steps.rb:20
  7. And I should see a "Salt:" text
    features/step_definitions/content_steps.rb:20
  8. And I should see a "Foreign:" text
    features/step_definitions/content_steps.rb:20
  9. And I should see a "Virtualization Host:" text
    features/step_definitions/content_steps.rb:20
  10. And the current path is "/rhn/systems/SystemEntitlements.do"
    features/step_definitions/navigation_steps.rb:7
features/systemspage.feature:171

Scenario: Check sidebar link destination for Systems => System Groups

  1. Given I am on the Systems page
    features/step_definitions/systemspage_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:26:54 +0000
  3. And I follow "System Groups" in the left menu
    features/step_definitions/navigation_steps.rb:116
  4. Then I should see a "System Groups" text
    features/step_definitions/content_steps.rb:20
  5. And I should see a "Create Group" link
    features/step_definitions/content_steps.rb:62
  6. And I should see a "Your organization has no system groups." text
    features/step_definitions/content_steps.rb:20
@failedfeatures/systemspage.feature:179

Scenario: Check sidebar link destination for Systems => System Set Manager

  1. Given I am on the Systems page
    features/step_definitions/systemspage_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:26:54 +0000
  3. And I follow "System Set Manager" in the left menu
    features/step_definitions/navigation_steps.rb:116
  4. Then I should see a "System Set Manager" text
    features/step_definitions/content_steps.rb:20
  5. And I should see a "Status" link in the left menu
    features/step_definitions/content_steps.rb:130
  6. And I should see a "Overview" link in the content area
    features/step_definitions/content_steps.rb:130
  7. And I should see a "Systems" link in the content area
    features/step_definitions/content_steps.rb:130
  8. And I should see a "Errata" link in the content area
    features/step_definitions/content_steps.rb:130
  9. And I should see a "Packages" link in the content area
    features/step_definitions/content_steps.rb:130
  10. And I should see a "Groups" link in the content area
    features/step_definitions/content_steps.rb:130
  11. And I should see a "Channels" link in the content area
    features/step_definitions/content_steps.rb:130
  12. And I should see a "Configuration" link in the content area
    features/step_definitions/content_steps.rb:130
  13. And I should see a "Provisioning" link in the content area
    features/step_definitions/content_steps.rb:130
  14. And I should see a "Misc" link in the content area
    features/step_definitions/content_steps.rb:130
features/systemspage.feature:194

Scenario: Check sidebar link destination for Systems => Advanced Search

  1. Given I am on the Systems page
    features/step_definitions/systemspage_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:26:55 +0000
  3. And I follow "Advanced Search" in the left menu
    features/step_definitions/navigation_steps.rb:116
  4. Then I should see a "Advanced Search" text
    features/step_definitions/content_steps.rb:20
features/systemspage.feature:199

Scenario: Check sidebar link destination for Systems => Activation Keys

  1. Given I am on the Systems page
    features/step_definitions/systemspage_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:26:56 +0000
  3. And I follow "Activation Keys" in the left menu
    features/step_definitions/navigation_steps.rb:116
  4. Then I should see a "Activation Keys" text
    features/step_definitions/content_steps.rb:20
  5. And I should see a "Create Key" link
    features/step_definitions/content_steps.rb:62
  6. And I should see a "No activation keys available" text
    features/step_definitions/content_steps.rb:20
features/systemspage.feature:206

Scenario: Check sidebar link destination for Systems => Stored Profiles

  1. Given I am on the Systems page
    features/step_definitions/systemspage_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:26:57 +0000
  3. And I follow "Stored Profiles" in the left menu
    features/step_definitions/navigation_steps.rb:116
  4. Then I should see a "Stored Profiles" text
    features/step_definitions/content_steps.rb:20
  5. And I should see a "No stored profiles." text
    features/step_definitions/content_steps.rb:20
features/systemspage.feature:212

Scenario: Check sidebar link destination for Systems => Custom System Info

  1. Given I am on the Systems page
    features/step_definitions/systemspage_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:26:58 +0000
  3. And I follow "Custom System Info" in the left menu
    features/step_definitions/navigation_steps.rb:116
  4. Then I should see a "Custom System Info Keys" text
    features/step_definitions/content_steps.rb:20
  5. And I should see a "Create Key" link
    features/step_definitions/content_steps.rb:62
  6. And I should see a "No Custom Info Keys Found" text
    features/step_definitions/content_steps.rb:20
features/systemspage.feature:219

Scenario: Check sidebar link destination for Systems => Kickstart

  1. Given I am on the Systems page
    features/step_definitions/systemspage_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:26:59 +0000
  3. And I follow "Kickstart" in the left menu
    features/step_definitions/navigation_steps.rb:116
  4. Then I should see a "Kickstart Overview" text
    features/step_definitions/content_steps.rb:20
  5. And I should see a "Profiles" link in the left menu
    features/step_definitions/content_steps.rb:130
  6. And I should see a "Bare Metal" link in the left menu
    features/step_definitions/content_steps.rb:130
  7. And I should see a "GPG and SSL Keys" link in the left menu
    features/step_definitions/content_steps.rb:130
  8. And I should see a "Distributions" link in the left menu
    features/step_definitions/content_steps.rb:130
  9. And I should see a "File Preservation" link in the left menu
    features/step_definitions/content_steps.rb:130
  10. And I should see a "Autoinstallation Snippets" link in the left menu
    features/step_definitions/content_steps.rb:130
  11. And I should see a "Create Kickstart Profile" link
    features/step_definitions/content_steps.rb:62
  12. And I should see a "Upload Kickstart File" link
    features/step_definitions/content_steps.rb:62
  13. And I should see a "View a List of Kickstart Profiles" link
    features/step_definitions/content_steps.rb:62
  14. And I should see a "Create a New Kickstart Profile" link
    features/step_definitions/content_steps.rb:62
  15. And I should see a "Upload a New Kickstart File" link
    features/step_definitions/content_steps.rb:62
features/systemspage.feature:235

Scenario: Check sidebar link destination for Systems => Kickstart => Profiles

  1. Given I am on the Systems page
    features/step_definitions/systemspage_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:27:01 +0000
  3. And I follow "Kickstart" in the left menu
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "Profiles" in the left menu
    features/step_definitions/navigation_steps.rb:116
  5. Then I should see a "Kickstart Profiles" text
    features/step_definitions/content_steps.rb:20
  6. And I should see a "Create Kickstart Profile" link
    features/step_definitions/content_steps.rb:62
  7. And I should see a "Upload Kickstart File" link
    features/step_definitions/content_steps.rb:62
features/systemspage.feature:243

Scenario: Check sidebar link destination for Systems => Kickstart => Bare Metal

  1. Given I am on the Systems page
    features/step_definitions/systemspage_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:27:02 +0000
  3. And I follow "Kickstart" in the left menu
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "Bare Metal" in the left menu
    features/step_definitions/navigation_steps.rb:116
  5. Then I should see a "Bare Metal Kickstart By IP" text
    features/step_definitions/content_steps.rb:20
  6. And I should see a "No Ip Ranges Found" text
    features/step_definitions/content_steps.rb:20
features/systemspage.feature:250

Scenario: Check sidebar link destination for Systems => Kickstart => GPG and SSL Keys

  1. Given I am on the Systems page
    features/step_definitions/systemspage_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:27:03 +0000
  3. And I follow "Kickstart" in the left menu
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "GPG and SSL Keys" in the left menu
    features/step_definitions/navigation_steps.rb:116
  5. Then I should see a "GPG Public Keys and SSL Certificates" text
    features/step_definitions/content_steps.rb:20
  6. And I should see a "Create Stored Key/Cert" link
    features/step_definitions/content_steps.rb:62
  7. And I should see a "RHN Reference Guide" link
    features/step_definitions/content_steps.rb:62
  8. And I should see a "RHN-ORG-TRUSTED-SSL-CERT" link
    features/step_definitions/content_steps.rb:62
features/systemspage.feature:259

Scenario: Check sidebar link destination for Systems => Kickstart => Distributions

  1. Given I am on the Systems page
    features/step_definitions/systemspage_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:27:04 +0000
  3. And I follow "Kickstart" in the left menu
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "Distributions" in the left menu
    features/step_definitions/navigation_steps.rb:116
  5. Then I should see a "Kickstartable Distributions" text
    features/step_definitions/content_steps.rb:20
  6. And I should see a "No kickstartable distributions available." text
    features/step_definitions/content_steps.rb:20
  7. And I should see a "Create Distribution" link
    features/step_definitions/content_steps.rb:62
features/systemspage.feature:267

Scenario: Check sidebar link destination for Systems => Kickstart => File Preservation

  1. Given I am on the Systems page
    features/step_definitions/systemspage_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:27:05 +0000
  3. And I follow "Kickstart" in the left menu
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "File Preservation" in the left menu
    features/step_definitions/navigation_steps.rb:116
  5. Then I should see a "File Preservation" text
    features/step_definitions/content_steps.rb:20
  6. And I should see a "RHN Reference Guide" link
    features/step_definitions/content_steps.rb:62
  7. And I should see a "Create File Preservation List" link
    features/step_definitions/content_steps.rb:62
features/systemspage.feature:275

Scenario: Check sidebar link destination for Systems => Kickstart => Kickstart Snippets

  1. Given I am on the Systems page
    features/step_definitions/systemspage_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:27:06 +0000
  3. And I follow "Kickstart" in the left menu
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "Autoinstallation Snippets" in the left menu
    features/step_definitions/navigation_steps.rb:116
  5. Then I should see a "Autoinstallation Snippets" text
    features/step_definitions/content_steps.rb:20
  6. And I should see a "No autoinstallation snippets found." text
    features/step_definitions/content_steps.rb:20
  7. And I should see a "Create Snippet" link
    features/step_definitions/content_steps.rb:62
  8. And I should see a "Default Snippets" link in the content area
    features/step_definitions/content_steps.rb:130
  9. And I should see a "Custom Snippets" link in the content area
    features/step_definitions/content_steps.rb:130
  10. And I should see a "All Snippets" link in the content area
    features/step_definitions/content_steps.rb:130
features/systemspage.feature:286

Scenario: Check "Create Kickstart Profile" page Systems => Kickstart => Profiles => Create Kickstart Profile

  1. Given I am on the Systems page
    features/step_definitions/systemspage_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:27:07 +0000
  3. And I follow "Kickstart" in the left menu
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "Profiles" in the left menu
    features/step_definitions/navigation_steps.rb:116
  5. And I follow "Create Kickstart Profile"
    features/step_definitions/navigation_steps.rb:61
  6. Then I should see a "Step 1: Create Kickstart Profile" text
    features/step_definitions/content_steps.rb:20
features/systemspage.feature:293

Scenario: Check "Upload Kickstart File" page Systems => Kickstart => Profiles => Upload Kickstart File

  1. Given I am on the Systems page
    features/step_definitions/systemspage_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:27:08 +0000
  3. And I follow "Kickstart" in the left menu
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "Profiles" in the left menu
    features/step_definitions/navigation_steps.rb:116
  5. And I follow "Upload Kickstart File"
    features/step_definitions/navigation_steps.rb:61
  6. Then I should see a "Create Autoinstallation Profile" text
    features/step_definitions/content_steps.rb:20
  7. And I should see a "File Contents:" text
    features/step_definitions/content_steps.rb:20
  8. And I should see a "Kickstart Details" text
    features/step_definitions/content_steps.rb:20
features/systemspage.feature:302

Scenario: Check "create kickstart distribution" page Systems => Kickstart => Distributions => create new kickstart distribution

  1. Given I am on the Systems page
    features/step_definitions/systemspage_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:27:09 +0000
  3. And I follow "Kickstart" in the left menu
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "Distributions" in the left menu
    features/step_definitions/navigation_steps.rb:116
  5. And I follow "Create Distribution"
    features/step_definitions/navigation_steps.rb:61
  6. Then I should see a "Create Kickstart Distribution" text
    features/step_definitions/content_steps.rb:20
  7. And I should see a "Distribution Label" text
    features/step_definitions/content_steps.rb:20
@cobblerfeatures/systemspage.feature:311

Scenario: create a dummy distro with cobbler (not visible in UI, SLES)

  1. Given cobblerd is running
    features/step_definitions/systemspage_steps.rb:11
  2. This scenario ran at: 2016-10-25 12:27:09 +0000
  3. Then create distro "testdistro" as user "testing" with password "testing"
    features/step_definitions/systemspage_steps.rb:18
@cobblerfeatures/systemspage.feature:316

Scenario: create dummy profile

  1. Given cobblerd is running
    features/step_definitions/systemspage_steps.rb:11
  2. This scenario ran at: 2016-10-25 12:27:10 +0000
  3. And distro "testdistro" exists
    features/step_definitions/systemspage_steps.rb:27
  4. Then create profile "testprofile" as user "testing" with password "testing"
    features/step_definitions/systemspage_steps.rb:34
@cobblerfeatures/systemspage.feature:322

Scenario: Check cobbler created distro and profile Systems => Kickstart => Profiles

  1. Given I am on the Systems page
    features/step_definitions/systemspage_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:27:10 +0000
  3. And I follow "Kickstart" in the left menu
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "Profiles" in the left menu
    features/step_definitions/navigation_steps.rb:116
  5. Then I should see a "testprofile" text
    features/step_definitions/content_steps.rb:20
  6. And I should see a "testdistro" text
    features/step_definitions/content_steps.rb:20
@cobbler_uifeatures/systemspage.feature:330

Scenario: create a distro with the UI (requires a base channel)

  1. Given I am on the Systems page
    features/step_definitions/systemspage_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:27:11 +0000
  3. And I follow "Kickstart" in the left menu
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "Distributions" in the left menu
    features/step_definitions/navigation_steps.rb:116
  5. And I follow "Create Distribution"
    features/step_definitions/navigation_steps.rb:61
  6. When I enter "fedora_kickstart_distro" as "label"
    features/step_definitions/navigation_steps.rb:37
  7. And I enter "/install/Fedora_12_i386/" as "basepath"
    features/step_definitions/navigation_steps.rb:37
  8. And I select "Fedora" from "installtype"
    features/step_definitions/navigation_steps.rb:26
  9. And I click on "Create Autoinstallable Distribution"
    features/step_definitions/navigation_steps.rb:50
  10. Then I should see a "Autoinstallable Distributions" text
    features/step_definitions/content_steps.rb:20
  11. And I should see a "fedora_kickstart_distro" link
    features/step_definitions/content_steps.rb:62
@cobbler_uifeatures/systemspage.feature:343

Scenario: create a profile with the UI (requires a base channel)

  1. Given I am on the Systems page
    features/step_definitions/systemspage_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:27:13 +0000
  3. And I follow "Kickstart" in the left menu
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "Profiles" in the left menu
    features/step_definitions/navigation_steps.rb:116
  5. And I follow "Create Kickstart Profile"
    features/step_definitions/navigation_steps.rb:61
  6. When I enter "fedora_kickstart_profile" as "kickstartLabel"
    features/step_definitions/navigation_steps.rb:37
  7. And I click on "Next"
    features/step_definitions/navigation_steps.rb:50
  8. And I click on "Next"
    features/step_definitions/navigation_steps.rb:50
  9. And I enter "linux" as "rootPassword"
    features/step_definitions/navigation_steps.rb:37
  10. And I enter "linux" as "rootPasswordConfirm"
    features/step_definitions/navigation_steps.rb:37
  11. And I click on "Finish"
    features/step_definitions/navigation_steps.rb:50
  12. Then I should see a "Kickstart: fedora_kickstart_profile" text
    features/step_definitions/content_steps.rb:20
  13. And I should see a "Kickstart Details" link
    features/step_definitions/content_steps.rb:62
@cobbler_uifeatures/systemspage.feature:358

Scenario: upload a profile with the UI (requires a base channel)

  1. Given I am on the Systems page
    features/step_definitions/systemspage_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:27:17 +0000
  3. And I follow "Kickstart" in the left menu
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "Profiles" in the left menu
    features/step_definitions/navigation_steps.rb:116
  5. And I follow "Upload Kickstart File"
    features/step_definitions/navigation_steps.rb:61
  6. When I enter "fedora_kickstart_profile_upload" as "kickstartLabel"
    features/step_definitions/navigation_steps.rb:37
  7. And I attach the file "/example.ks" to "fileUpload"
    features/step_definitions/systemspage_steps.rb:50
  8. And I click on "Create"
    features/step_definitions/navigation_steps.rb:50
  9. Then I should see a "Kickstart: fedora_kickstart_profile_upload" text
    features/step_definitions/content_steps.rb:20
  10. And I should see a "Kickstart Details" text
    features/step_definitions/content_steps.rb:20
@cobbler_uifeatures/systemspage.feature:370

Scenario: adding a bare metal range to a profile (requires fedora_kickstart_profile)

  1. Given I am on the Systems page
    features/step_definitions/systemspage_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:27:20 +0000
  3. And I follow "Kickstart" in the left menu
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "Profiles" in the left menu
    features/step_definitions/navigation_steps.rb:116
  5. And I follow "fedora_kickstart_profile"
    features/step_definitions/navigation_steps.rb:61
  6. And I follow "Bare Metal Kickstart"
    features/step_definitions/navigation_steps.rb:61
  7. And I enter "10" as "octet1a"
    features/step_definitions/navigation_steps.rb:37
  8. And I enter "10" as "octet1b"
    features/step_definitions/navigation_steps.rb:37
  9. And I enter "0" as "octet1c"
    features/step_definitions/navigation_steps.rb:37
  10. And I enter "100" as "octet1d"
    features/step_definitions/navigation_steps.rb:37
  11. And I enter "10" as "octet2a"
    features/step_definitions/navigation_steps.rb:37
  12. And I enter "10" as "octet2b"
    features/step_definitions/navigation_steps.rb:37
  13. And I enter "0" as "octet2c"
    features/step_definitions/navigation_steps.rb:37
  14. And I enter "200" as "octet2d"
    features/step_definitions/navigation_steps.rb:37
  15. And I click on "Add IP Range"
    features/step_definitions/navigation_steps.rb:50
  16. Then I should see a "Successfully added IP Range" text
    features/step_definitions/content_steps.rb:20
@cobbler_uifeatures/systemspage.feature:388

Scenario: adding a variable to the uploaded profile (requires fedora_kickstart_profile_upload)

  1. Given I am on the Systems page
    features/step_definitions/systemspage_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:27:22 +0000
  3. And I follow "Kickstart" in the left menu
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "Profiles" in the left menu
    features/step_definitions/navigation_steps.rb:116
  5. And I follow "fedora_kickstart_profile_upload"
    features/step_definitions/navigation_steps.rb:61
  6. And I follow "Variables"
    features/step_definitions/navigation_steps.rb:61
  7. And I enter "my_var=A_Test_String" as "variables"
    features/step_definitions/navigation_steps.rb:37
  8. And I click on "Update Variables"
    features/step_definitions/navigation_steps.rb:50
  9. And I follow "Autoinstallation File"
    features/step_definitions/navigation_steps.rb:61
  10. Then I should see a "A_Test_String" text
    features/step_definitions/content_steps.rb:20
@cobbler_uifeatures/systemspage.feature:400

Scenario: adding a kernel option (requires fedora_kickstart_profile)

  1. Given I am on the Systems page
    features/step_definitions/systemspage_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:27:25 +0000
  3. And I follow "Kickstart" in the left menu
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "Profiles" in the left menu
    features/step_definitions/navigation_steps.rb:116
  5. And I follow "fedora_kickstart_profile"
    features/step_definitions/navigation_steps.rb:61
  6. And I enter "kernel_option=a_value" as "kernel_options"
    features/step_definitions/navigation_steps.rb:37
  7. And I click on "Update"
    features/step_definitions/navigation_steps.rb:50
  8. Then file "/srv/tftpboot/pxelinux.cfg/default" contains "kernel_option=a_value"
    features/step_definitions/command_steps.rb:45
@cobbler_uifeatures/systemspage.feature:410

Scenario: adding a kernel option (requires fedora_kickstart_profile_upload)

  1. Given I am on the Systems page
    features/step_definitions/systemspage_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:27:27 +0000
  3. And I follow "Kickstart" in the left menu
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "Profiles" in the left menu
    features/step_definitions/navigation_steps.rb:116
  5. And I follow "fedora_kickstart_profile_upload"
    features/step_definitions/navigation_steps.rb:61
  6. And I enter "kernel_option2=a_value2" as "kernel_options"
    features/step_definitions/navigation_steps.rb:37
  7. And I click on "Update"
    features/step_definitions/navigation_steps.rb:50
  8. Then file "/srv/tftpboot/pxelinux.cfg/default" contains "kernel_option2=a_value2"
    features/step_definitions/command_steps.rb:45
@cobbler_uifeatures/systemspage.feature:420

Scenario: checking default snippets

  1. Given I am on the Systems page
    features/step_definitions/systemspage_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:27:29 +0000
  3. And I follow "Autoinstallation" in the left menu
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "Autoinstallation Snippets" in the left menu
    features/step_definitions/navigation_steps.rb:116
  5. And I follow "Default Snippets"
    features/step_definitions/navigation_steps.rb:61
  6. And I click on "Next Page"
    features/step_definitions/navigation_steps.rb:50
  7. And I follow "spacewalk/sles_no_signature_checks"
    features/step_definitions/navigation_steps.rb:61
  8. Then I should see "<signature-handling>" in the textarea
    features/step_definitions/content_steps.rb:31
@cobbler_uifeatures/systemspage.feature:431

Scenario: create a snippet

  1. Given I am on the Systems page
    features/step_definitions/systemspage_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:27:30 +0000
  3. And I follow "Autoinstallation" in the left menu
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "Autoinstallation Snippets" in the left menu
    features/step_definitions/navigation_steps.rb:116
  5. And I follow "Create Snippet"
    features/step_definitions/navigation_steps.rb:61
  6. And I enter "created_test_snippet" as "name"
    features/step_definitions/navigation_steps.rb:37
  7. And I enter "<test_element>a text string</test_element>" in the editor
    features/step_definitions/navigation_steps.rb:151
  8. And I click on "Create Snippet"
    features/step_definitions/navigation_steps.rb:50
  9. Then I should see a "created_test_snippet created successfully." text
    features/step_definitions/content_steps.rb:20
@cobbler_uifeatures/systemspage.feature:442

Scenario: delete a snippet (requires "create a snippet" test was run)

  1. Given I am on the Systems page
    features/step_definitions/systemspage_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:27:31 +0000
  3. And I follow "Autoinstallation" in the left menu
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "Autoinstallation Snippets" in the left menu
    features/step_definitions/navigation_steps.rb:116
  5. And I follow "created_test_snippet"
    features/step_definitions/navigation_steps.rb:61
  6. And I follow "delete snippet"
    features/step_definitions/navigation_steps.rb:61
  7. And I click on "Delete Snippet"
    features/step_definitions/navigation_steps.rb:50
  8. Then I should see a "created_test_snippet deleted successfully." text
    features/step_definitions/content_steps.rb:20
@pxe_envfeatures/systemspage.feature:452

Scenario: testing for pxe environment files. Requires cobbler_ui tests to have run

  1. Given cobblerd is running
    features/step_definitions/systemspage_steps.rb:11
  2. This scenario ran at: 2016-10-25 12:27:33 +0000
  3. Then file "/srv/tftpboot/pxelinux.cfg/default" exists on server
    features/step_definitions/command_steps.rb:37
  4. And file "/srv/tftpboot/pxelinux.cfg/default" contains "ks=.*fedora_kickstart_profile:1"
    features/step_definitions/command_steps.rb:45
  5. And file "/srv/tftpboot/pxelinux.cfg/default" contains "ks=.*fedora_kickstart_profile_upload:1"
    features/step_definitions/command_steps.rb:45
  6. And file "/srv/tftpboot/images/fedora_kickstart_distro:1:SUSETest/initrd.img" exists on server
    features/step_definitions/command_steps.rb:37
  7. And file "/srv/tftpboot/images/fedora_kickstart_distro:1:SUSETest/vmlinuz" exists on server
    features/step_definitions/command_steps.rb:37
  8. And file "/srv/tftpboot/menu.c32" exists on server
    features/step_definitions/command_steps.rb:37
  9. And file "/srv/tftpboot/pxelinux.0" exists on server
    features/step_definitions/command_steps.rb:37
# Copyright (c) 2010-2011 Novell, Inc.
# Licensed under the terms of the MIT license.

Feature: Create an activation key

In Order register a system to the spacewalk server
As the testing user
I want to create an activation key

features/create_activationkey.feature:9

Scenario: create an activation key

  1. Given I am on the Systems page
    features/step_definitions/systemspage_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:27:34 +0000
  3. And I follow "Activation Keys" in the left menu
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "Create Key"
    features/step_definitions/navigation_steps.rb:61
  5. When I enter "SUSE Test Key i586" as "description"
    features/step_definitions/navigation_steps.rb:37
  6. And I enter "SUSE-DEV-i586" as "key"
    features/step_definitions/navigation_steps.rb:37
  7. And I check "virtualization_host"
    features/step_definitions/navigation_steps.rb:18
  8. And I click on "Create Activation Key"
    features/step_definitions/navigation_steps.rb:50
  9. Then I should see a "Activation key SUSE Test Key i586 has been created." text
    features/step_definitions/content_steps.rb:20
  10. And I should see a "Details" link
    features/step_definitions/content_steps.rb:62
  11. And I should see a "Child Channels" link
    features/step_definitions/content_steps.rb:62
  12. And I should see a "Packages" link
    features/step_definitions/content_steps.rb:62
  13. And I should see a "Configuration" link in the content area
    features/step_definitions/content_steps.rb:130
  14. And I should see a "Groups" link
    features/step_definitions/content_steps.rb:62
  15. And I should see a "Activated Systems" link
    features/step_definitions/content_steps.rb:62
features/create_activationkey.feature:25

Scenario: Change limit of the activation key

  1. Given I am on the Systems page
    features/step_definitions/systemspage_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:27:35 +0000
  3. And I follow "Activation Keys" in the left menu
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "SUSE Test Key i586"
    features/step_definitions/navigation_steps.rb:61
  5. When I enter "20" as "usageLimit"
    features/step_definitions/navigation_steps.rb:37
  6. And I click on "Update Activation Key"
    features/step_definitions/navigation_steps.rb:50
  7. Then I should see a "Activation key SUSE Test Key i586 has been modified." text
    features/step_definitions/content_steps.rb:20
  8. And I should see "20" in field "usageLimit"
    features/step_definitions/content_steps.rb:230
features/create_activationkey.feature:34

Scenario: Change Base Channel of the activation key

  1. Given I am on the Systems page
    features/step_definitions/systemspage_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:27:37 +0000
  3. And I follow "Activation Keys" in the left menu
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "SUSE Test Key i586"
    features/step_definitions/navigation_steps.rb:61
  5. When I select "SLES11-SP3-Updates i586 Channel" from "selectedChannel"
    features/step_definitions/navigation_steps.rb:26
  6. And I click on "Update Activation Key"
    features/step_definitions/navigation_steps.rb:50
  7. Then I should see a "Activation key SUSE Test Key i586 has been modified." text
    features/step_definitions/content_steps.rb:20
features/create_activationkey.feature:42

Scenario: create an activation key with Channel

  1. Given I am on the Systems page
    features/step_definitions/systemspage_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:27:38 +0000
  3. And I follow "Activation Keys" in the left menu
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "Create Key"
    features/step_definitions/navigation_steps.rb:61
  5. When I enter "SUSE Test Key x86_64" as "description"
    features/step_definitions/navigation_steps.rb:37
  6. And I enter "SUSE-DEV-x86_64" as "key"
    features/step_definitions/navigation_steps.rb:37
  7. And I check "virtualization_host"
    features/step_definitions/navigation_steps.rb:18
  8. And I enter "20" as "usageLimit"
    features/step_definitions/navigation_steps.rb:37
  9. And I select "SLES11-SP3-Updates x86_64 Channel" from "selectedChannel"
    features/step_definitions/navigation_steps.rb:26
  10. And I click on "Create Activation Key"
    features/step_definitions/navigation_steps.rb:50
  11. Then I should see a "Activation key SUSE Test Key x86_64 has been created" text
    features/step_definitions/content_steps.rb:20
  12. And I should see a "Details" link
    features/step_definitions/content_steps.rb:62
  13. And I should see a "Child Channels" link
    features/step_definitions/content_steps.rb:62
  14. And I should see a "Packages" link
    features/step_definitions/content_steps.rb:62
  15. And I should see a "Configuration" link in the content area
    features/step_definitions/content_steps.rb:130
  16. And I should see a "Groups" link
    features/step_definitions/content_steps.rb:62
  17. And I should see a "Activated Systems" link
    features/step_definitions/content_steps.rb:62
features/create_activationkey.feature:60

Scenario: create an activation key with Channel and package list

  1. Given I am on the Systems page
    features/step_definitions/systemspage_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:27:39 +0000
  3. And I follow "Activation Keys" in the left menu
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "Create Key"
    features/step_definitions/navigation_steps.rb:61
  5. When I enter "SUSE Test PKG Key x86_64" as "description"
    features/step_definitions/navigation_steps.rb:37
  6. And I enter "SUSE-PKG-x86_64" as "key"
    features/step_definitions/navigation_steps.rb:37
  7. And I enter "20" as "usageLimit"
    features/step_definitions/navigation_steps.rb:37
  8. And I select "SLES11-SP3-Updates x86_64 Channel" from "selectedChannel"
    features/step_definitions/navigation_steps.rb:26
  9. And I click on "Create Activation Key"
    features/step_definitions/navigation_steps.rb:50
  10. And I follow "Packages"
    features/step_definitions/navigation_steps.rb:61
  11. And I enter "man" as "packages"
    features/step_definitions/navigation_steps.rb:37
  12. And I click on "Update Key"
    features/step_definitions/navigation_steps.rb:50
  13. Then I should see a "Activation key SUSE Test PKG Key x86_64 has been modified." text
    features/step_definitions/content_steps.rb:20
  14. And I should see a "Details" link
    features/step_definitions/content_steps.rb:62
  15. And I should see a "Child Channels" link
    features/step_definitions/content_steps.rb:62
  16. And I should see a "Packages" link
    features/step_definitions/content_steps.rb:62
  17. And I should see a "Configuration" link in the content area
    features/step_definitions/content_steps.rb:130
  18. And I should see a "Groups" link
    features/step_definitions/content_steps.rb:62
  19. And I should see a "Activated Systems" link
    features/step_definitions/content_steps.rb:62
features/create_activationkey.feature:80

Scenario: create an activation key with Channel and package list

  1. Given I am on the Systems page
    features/step_definitions/systemspage_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:27:41 +0000
  3. And I follow "Activation Keys" in the left menu
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "Create Key"
    features/step_definitions/navigation_steps.rb:61
  5. When I enter "SUSE Test PKG Key i586" as "description"
    features/step_definitions/navigation_steps.rb:37
  6. And I enter "SUSE-PKG-i586" as "key"
    features/step_definitions/navigation_steps.rb:37
  7. And I enter "20" as "usageLimit"
    features/step_definitions/navigation_steps.rb:37
  8. And I select "SLES11-SP3-Updates i586 Channel" from "selectedChannel"
    features/step_definitions/navigation_steps.rb:26
  9. And I click on "Create Activation Key"
    features/step_definitions/navigation_steps.rb:50
  10. And I follow "Packages"
    features/step_definitions/navigation_steps.rb:61
  11. And I enter "man" as "packages"
    features/step_definitions/navigation_steps.rb:37
  12. And I click on "Update Key"
    features/step_definitions/navigation_steps.rb:50
  13. Then I should see a "Activation key SUSE Test PKG Key i586 has been modified." text
    features/step_definitions/content_steps.rb:20
  14. And I should see a "Details" link
    features/step_definitions/content_steps.rb:62
  15. And I should see a "Child Channels" link
    features/step_definitions/content_steps.rb:62
  16. And I should see a "Packages" link
    features/step_definitions/content_steps.rb:62
  17. And I should see a "Configuration" link in the content area
    features/step_definitions/content_steps.rb:130
  18. And I should see a "Groups" link
    features/step_definitions/content_steps.rb:62
  19. And I should see a "Activated Systems" link
    features/step_definitions/content_steps.rb:62
# Copyright (c) 2015 SUSE LLC
# Licensed under the terms of the MIT license.
@simple

Feature: Check users page/tab

Validate users page accessibility

features/users.feature:8

Scenario: Check users page content

  1. Given I am on the Users page
    features/step_definitions/userspage_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:27:42 +0000
  3. Then I should see a "Active Users" text
    features/step_definitions/content_steps.rb:20
  4. And I should see a "Create User" link
    features/step_definitions/content_steps.rb:62
  5. And I should see a "User List" link in the left menu
    features/step_definitions/content_steps.rb:130
  6. And I should see a "Active" link in the left menu
    features/step_definitions/content_steps.rb:130
  7. And I should see a "Deactivated" link in the left menu
    features/step_definitions/content_steps.rb:130
  8. And I should see a "All" link in the left menu
    features/step_definitions/content_steps.rb:130
  9. And I should see a "admin" link in the table first column
    features/step_definitions/content_steps.rb:116
  10. And I should see a "Download CSV" link
    features/step_definitions/content_steps.rb:62
# Copyright (c) 2015 SUSE LLC
# Licensed under the terms of the MIT license.
@setup

Feature: Create a new user

features/users-createnewuser.feature:7

Scenario: Create a new user

  1. Given I am on the Users page
    features/step_definitions/userspage_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:27:43 +0000
  3. When I follow "Create User"
    features/step_definitions/navigation_steps.rb:61
  4. And I enter "user1" as "login"
    features/step_definitions/navigation_steps.rb:37
  5. And I enter "user1" as "desiredpassword"
    features/step_definitions/navigation_steps.rb:37
  6. And I enter "user1" as "desiredpasswordConfirm"
    features/step_definitions/navigation_steps.rb:37
  7. And I select "Mr." from "prefix"
    features/step_definitions/navigation_steps.rb:26
  8. And I enter "Test" as "firstNames"
    features/step_definitions/navigation_steps.rb:37
  9. And I enter "User" as "lastName"
    features/step_definitions/navigation_steps.rb:37
  10. And I enter "galaxy-noise@suse.de" as "email"
    features/step_definitions/navigation_steps.rb:37
  11. And I click on "Create Login"
    features/step_definitions/navigation_steps.rb:50
  12. Then I should see a "Account user1 created, login information sent to galaxy-noise@suse.de" text
    features/step_definitions/content_steps.rb:20
  13. And I should see a "user1" link
    features/step_definitions/content_steps.rb:62
  14. And I should see a "normal user" text
    features/step_definitions/content_steps.rb:20
features/users-createnewuser.feature:22

Scenario: Login as user1

  1. Given I am authorized as "user1" with password "user1"
    features/step_definitions/log_in_out_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:27:44 +0000
  3. Then I should see a "user1" link
    features/step_definitions/content_steps.rb:62
# Copyright (c) 2015 SUSE LLC
# Licensed under the terms of the MIT license.
@users-createnewuser

Feature: Watch/edit user details

Validate users page accessibility

features/users-userdetails.feature:8

Scenario: Access user details

  1. Given I am on the Details page
    features/step_definitions/userspage_steps.rb:11
  2. This scenario ran at: 2016-10-25 12:27:45 +0000
  3. Then I should see a "User Details" text
    features/step_definitions/content_steps.rb:20
  4. And I should see a "Delete User" link
    features/step_definitions/content_steps.rb:62
  5. And I should see a "Deactivate User" link
    features/step_definitions/content_steps.rb:62
  6. And I should see a "Details" link
    features/step_definitions/content_steps.rb:62
  7. And I should see a "System Groups" link
    features/step_definitions/content_steps.rb:62
  8. And I should see a "Systems" link in the content area
    features/step_definitions/content_steps.rb:130
  9. And I should see a "Channel Permissions" link
    features/step_definitions/content_steps.rb:62
  10. And I should see a "Preferences" link in the content area
    features/step_definitions/content_steps.rb:130
  11. And I should see a "Addresses" link
    features/step_definitions/content_steps.rb:62
  12. And I should see a "user1" text
    features/step_definitions/content_steps.rb:20
  13. And Option "Mr." is selected as "prefix"
    features/step_definitions/content_steps.rb:194
  14. And I should see "Test" in field "firstNames"
    features/step_definitions/content_steps.rb:230
  15. And I should see "User" in field "lastName"
    features/step_definitions/content_steps.rb:230
  16. And I should see a "galaxy-noise@suse.de" link
    features/step_definitions/content_steps.rb:62
  17. And I should see a "Administrative Roles" text
    features/step_definitions/content_steps.rb:20
  18. And I should see a "Roles:" text
    features/step_definitions/content_steps.rb:20
  19. And I should see a "Created:" text
    features/step_definitions/content_steps.rb:20
  20. And I should see a "Last Sign In:" text
    features/step_definitions/content_steps.rb:20
features/users-userdetails.feature:29

Scenario: Change Roles (1)

  1. Given I am on the Details page
    features/step_definitions/userspage_steps.rb:11
  2. This scenario ran at: 2016-10-25 12:27:45 +0000
  3. When the "role_satellite_admin" checkbox should be disabled
    features/step_definitions/content_steps.rb:222
  4. And I check "role_org_admin"
    features/step_definitions/navigation_steps.rb:18
  5. And I check "role_system_group_admin"
    features/step_definitions/navigation_steps.rb:18
  6. And I check "role_channel_admin"
    features/step_definitions/navigation_steps.rb:18
  7. And I check "role_activation_key_admin"
    features/step_definitions/navigation_steps.rb:18
  8. And I check "role_config_admin"
    features/step_definitions/navigation_steps.rb:18
  9. And I click on "Update"
    features/step_definitions/navigation_steps.rb:50
  10. Then the "role_satellite_admin" checkbox should be disabled
    features/step_definitions/content_steps.rb:222
  11. And I should see a "SUSE Manager Administrator" text
    features/step_definitions/content_steps.rb:20
  12. And I should see "role_org_admin" as checked
    features/step_definitions/content_steps.rb:208
  13. And I should see a "Organization Administrator" text
    features/step_definitions/content_steps.rb:20
  14. And the "role_system_group_admin" checkbox should be disabled
    features/step_definitions/content_steps.rb:222
  15. And I should see a "System Group Administrator - [ Admin Access ]" text
    features/step_definitions/content_steps.rb:20
  16. And the "role_channel_admin" checkbox should be disabled
    features/step_definitions/content_steps.rb:222
  17. And I should see a "Channel Administrator - [ Admin Access ]" text
    features/step_definitions/content_steps.rb:20
  18. And the "role_activation_key_admin" checkbox should be disabled
    features/step_definitions/content_steps.rb:222
  19. And I should see a "Activation Key Administrator - [ Admin Access ]" text
    features/step_definitions/content_steps.rb:20
  20. And the "role_config_admin" checkbox should be disabled
    features/step_definitions/content_steps.rb:222
  21. And I should see a "Configuration Administrator - [ Admin Access ]" text
    features/step_definitions/content_steps.rb:20
  22. And I should see a "Above roles are granted via the Organization Administrator role." text
    features/step_definitions/content_steps.rb:20
features/users-userdetails.feature:52

Scenario: Verify User List

  1. Given I am on the Users page
    features/step_definitions/userspage_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:28:47 +0000
  3. Then Table row for "user1" should contain "Organization Administrator"
    features/step_definitions/userspage_steps.rb:18
  4. And Table row for "user1" should contain "Channel Administrator"
    features/step_definitions/userspage_steps.rb:18
  5. And Table row for "user1" should contain "Configuration Administrator"
    features/step_definitions/userspage_steps.rb:18
  6. And Table row for "user1" should contain "System Group Administrator"
    features/step_definitions/userspage_steps.rb:18
  7. And Table row for "user1" should contain "Activation Key Administrator"
    features/step_definitions/userspage_steps.rb:18
features/users-userdetails.feature:60

Scenario: Deactivate User (Fail)

  1. Given I am on the Details page
    features/step_definitions/userspage_steps.rb:11
  2. This scenario ran at: 2016-10-25 12:28:48 +0000
  3. When I follow "Deactivate User"
    features/step_definitions/navigation_steps.rb:61
  4. Then I should see a "This action will deactivate this user. This user will no longer be able to log in or perform actions unless it is reactivated." text
    features/step_definitions/content_steps.rb:20
  5. When I click on "Deactivate User"
    features/step_definitions/navigation_steps.rb:50
  6. Then I should see a "You cannot deactivate another organization administrator. Please remove the 'Organization Administrator' role from this user before attempting to deactivate their account." text
    features/step_definitions/content_steps.rb:20
  7. When I follow "Deactivated"
    features/step_definitions/navigation_steps.rb:61
  8. Then I should see a "No deactivated users." text
    features/step_definitions/content_steps.rb:20
features/users-userdetails.feature:69

Scenario: Change Role (2)

  1. Given I am on the Details page
    features/step_definitions/userspage_steps.rb:11
  2. This scenario ran at: 2016-10-25 12:28:49 +0000
  3. When I uncheck "role_org_admin"
    features/step_definitions/navigation_steps.rb:22
  4. And I click on "Update"
    features/step_definitions/navigation_steps.rb:50
  5. Then I should see "role_org_admin" as unchecked
    features/step_definitions/content_steps.rb:215
  6. And I should see "role_system_group_admin" as checked
    features/step_definitions/content_steps.rb:208
  7. And I should see "role_channel_admin" as checked
    features/step_definitions/content_steps.rb:208
  8. And I should see "role_activation_key_admin" as checked
    features/step_definitions/content_steps.rb:208
  9. And I should see "role_config_admin" as checked
    features/step_definitions/content_steps.rb:208
features/users-userdetails.feature:79

Scenario: Deactivate User (Succeed)

  1. Given I am on the Details page
    features/step_definitions/userspage_steps.rb:11
  2. This scenario ran at: 2016-10-25 12:28:50 +0000
  3. Then I should see "role_org_admin" as unchecked
    features/step_definitions/content_steps.rb:215
  4. When I follow "Deactivate User"
    features/step_definitions/navigation_steps.rb:61
  5. Then I should see a "This action will deactivate this user. This user will no longer be able to log in or perform actions unless it is reactivated." text
    features/step_definitions/content_steps.rb:20
  6. When I click on "Deactivate User"
    features/step_definitions/navigation_steps.rb:50
  7. Then I should see a "Active Users" text
    features/step_definitions/content_steps.rb:20
  8. And I should not see a "user1" link
    features/step_definitions/content_steps.rb:76
  9. When I follow "Deactivated"
    features/step_definitions/navigation_steps.rb:61
  10. Then I should see a "Deactivated Users" text
    features/step_definitions/content_steps.rb:20
  11. And I should see a "user1" link
    features/step_definitions/content_steps.rb:62
  12. When I follow "All"
    features/step_definitions/navigation_steps.rb:61
  13. Then I should see a "user1" link
    features/step_definitions/content_steps.rb:62
features/users-userdetails.feature:93

Scenario: Reactivate User (Succeed)

  1. Given I am on the Users page
    features/step_definitions/userspage_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:28:51 +0000
  3. When I follow "Deactivated"
    features/step_definitions/navigation_steps.rb:61
  4. And I follow "user1"
    features/step_definitions/navigation_steps.rb:61
  5. Then I should see a "Reactivate User" link
    features/step_definitions/content_steps.rb:62
  6. When I follow "Reactivate User"
    features/step_definitions/navigation_steps.rb:61
  7. Then I should see a "This action will allow this user to access SUSE Manager. This user will retain all permissions, roles, and data that he or she had before being deactivated." text
    features/step_definitions/content_steps.rb:20
  8. When I click on "Reactivate User"
    features/step_definitions/navigation_steps.rb:50
  9. Then I should see a "Active Users" text
    features/step_definitions/content_steps.rb:20
  10. And I should see a "user1" link
    features/step_definitions/content_steps.rb:62
  11. When I follow "Deactivated"
    features/step_definitions/navigation_steps.rb:61
  12. Then I should not see a "user1" link
    features/step_definitions/content_steps.rb:76
# Copyright (c) 2015 SUSE LLC
# Licensed under the terms of the MIT license.

Feature: Create external system or API credentials

In order to access external systems or APIs
As the testing user
I want to create credentials

features/credentials.feature:9

Scenario: Fail to create credentials (empty)

  1. Given I am on the Credentials page
    features/step_definitions/credentials_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:28:53 +0000
  3. When I click on "Update Credentials"
    features/step_definitions/navigation_steps.rb:50
  4. Then I should see a "Your credentials are incomplete" text
    features/step_definitions/content_steps.rb:20
features/credentials.feature:14

Scenario: Fail to create credentials (API key is missing)

  1. Given I am on the Credentials page
    features/step_definitions/credentials_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:28:53 +0000
  3. When I enter "foobar-user" as "studio_user"
    features/step_definitions/navigation_steps.rb:37
  4. And I click on "Update Credentials"
    features/step_definitions/navigation_steps.rb:50
  5. Then I should see a "Your credentials are incomplete" text
    features/step_definitions/content_steps.rb:20
features/credentials.feature:20

Scenario: Fail to create credentials (API user is missing)

  1. Given I am on the Credentials page
    features/step_definitions/credentials_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:28:54 +0000
  3. When I enter "foobar-key" as "studio_key"
    features/step_definitions/navigation_steps.rb:37
  4. And I click on "Update Credentials"
    features/step_definitions/navigation_steps.rb:50
  5. Then I should see a "Your credentials are incomplete" text
    features/step_definitions/content_steps.rb:20
features/credentials.feature:26

Scenario: Create credentials succesfully

  1. Given I am on the Credentials page
    features/step_definitions/credentials_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:28:55 +0000
  3. When I enter "foobar-user" as "studio_user"
    features/step_definitions/navigation_steps.rb:37
  4. And I enter "foobar-key" as "studio_key"
    features/step_definitions/navigation_steps.rb:37
  5. And I click on "Update Credentials"
    features/step_definitions/navigation_steps.rb:50
  6. Then I should see a "Your credentials were successfully updated." text
    features/step_definitions/content_steps.rb:20
features/credentials.feature:33

Scenario: Delete credentials

  1. Given I am on the Credentials page
    features/step_definitions/credentials_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:28:56 +0000
  3. When I follow "delete credentials"
    features/step_definitions/navigation_steps.rb:61
  4. Then I should see a "foobar-user" text
    features/step_definitions/content_steps.rb:20
  5. And I should see a "foobar-key" text
    features/step_definitions/content_steps.rb:20
  6. And I should see a "https://susestudio.com" text
    features/step_definitions/content_steps.rb:20
  7. When I click on "Delete Credentials"
    features/step_definitions/navigation_steps.rb:50
  8. Then I should see a "Your credentials were successfully deleted." text
    features/step_definitions/content_steps.rb:20
# Copyright (c) 2015 SUSE LLC
# Licensed under the terms of the MIT license.

Feature: Change a user's preference for CSV file separator character

In order to change the CSV separator
As an authorized user
I want to switch back and forth between ',' and ';'

features/csv-separator.feature:9

Scenario: Verify availability of the CSV separator preference

  1. Given I am authorized as "testing" with password "testing"
    features/step_definitions/log_in_out_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:28:57 +0000
  3. And I follow "Your Preferences"
    features/step_definitions/navigation_steps.rb:61
  4. Then I should see a "CSV Files" text
    features/step_definitions/content_steps.rb:20
  5. And I should see a "Configure a separator character to be used in downloadable CSV files:" text
    features/step_definitions/content_steps.rb:20
  6. And I should see a "Comma" text
    features/step_definitions/content_steps.rb:20
  7. And I should see a "Semicolon" text
    features/step_definitions/content_steps.rb:20
features/csv-separator.feature:17

Scenario: Configure the CSV separator char to semicolon

  1. Given I am authorized as "testing" with password "testing"
    features/step_definitions/log_in_out_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:28:58 +0000
  3. And I follow "Your Preferences"
    features/step_definitions/navigation_steps.rb:61
  4. And I choose ";"
    features/step_definitions/navigation_steps.rb:30
  5. And I click on "Save Preferences"
    features/step_definitions/navigation_steps.rb:50
  6. Then I should see a "Preferences modified" text
    features/step_definitions/content_steps.rb:20
  7. And radio button "radio-semicolon" is checked
    features/step_definitions/content_steps.rb:201
features/csv-separator.feature:25

Scenario: Configure the CSV separator char to comma

  1. Given I am authorized as "testing" with password "testing"
    features/step_definitions/log_in_out_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:28:58 +0000
  3. And I follow "Your Preferences"
    features/step_definitions/navigation_steps.rb:61
  4. And I choose ","
    features/step_definitions/navigation_steps.rb:30
  5. And I click on "Save Preferences"
    features/step_definitions/navigation_steps.rb:50
  6. Then I should see a "Preferences modified" text
    features/step_definitions/content_steps.rb:20
  7. And radio button "radio-comma" is checked
    features/step_definitions/content_steps.rb:201
# Copyright (c) 2015 SUSE LLC
# Licensed under the terms of the MIT license.

Feature: Create a configuration channel

In Configuration
As the admin user
I want to create a configuration channel

features/create_config_channel.feature:9

Scenario: Successfully create configuration channel

  1. Given I am testing configuration
    features/step_definitions/configuration_steps.rb:6
  2. This scenario ran at: 2016-10-25 12:28:59 +0000
  3. When I follow "Create a New Configuration Channel"
    features/step_definitions/navigation_steps.rb:61
  4. And I enter "Test Channel" as "cofName"
    features/step_definitions/navigation_steps.rb:37
  5. And I enter "testchannel" as "cofLabel"
    features/step_definitions/navigation_steps.rb:37
  6. And I enter "This is a test channel" as "cofDescription"
    features/step_definitions/navigation_steps.rb:37
  7. And I click on "Create Config Channel"
    features/step_definitions/navigation_steps.rb:50
  8. Then I should see a "Test Channel" text
    features/step_definitions/content_steps.rb:20
  9. And I should see a "Add Files" link
    features/step_definitions/content_steps.rb:62
  10. And I should see a "Systems" link in the content area
    features/step_definitions/content_steps.rb:130
  11. And I should see a "Edit Properties" link
    features/step_definitions/content_steps.rb:62
  12. And I should see a "Configuration Actions" text
    features/step_definitions/content_steps.rb:20
  13. And I should see a "Add/Create Files" text
    features/step_definitions/content_steps.rb:20
  14. And I should see a "Create configuration file or directory" link
    features/step_definitions/content_steps.rb:62
  15. And I should see a "Upload configuration files" link
    features/step_definitions/content_steps.rb:62
  16. And I should see a "Import a file from another channel or system" link
    features/step_definitions/content_steps.rb:62
  17. And I should see a "delete channel" link
    features/step_definitions/content_steps.rb:62
features/create_config_channel.feature:27

Scenario: Try to create same channel again; this should fail

  1. Given I am testing configuration
    features/step_definitions/configuration_steps.rb:6
  2. This scenario ran at: 2016-10-25 12:29:00 +0000
  3. When I follow "Create a New Configuration Channel"
    features/step_definitions/navigation_steps.rb:61
  4. And I enter "Test Channel" as "cofName"
    features/step_definitions/navigation_steps.rb:37
  5. And I enter "testchannel" as "cofLabel"
    features/step_definitions/navigation_steps.rb:37
  6. And I enter "This is a test channel" as "cofDescription"
    features/step_definitions/navigation_steps.rb:37
  7. And I click on "Create Config Channel"
    features/step_definitions/navigation_steps.rb:50
  8. Then I should see a "Label 'testchannel' already exists. Please choose a different label for the new channel." text
    features/step_definitions/content_steps.rb:20
  9. And I should see a "Update Channel" button
    features/step_definitions/content_steps.rb:80
features/create_config_channel.feature:37

Scenario: Try to create a channel with an invalid label

  1. Given I am testing configuration
    features/step_definitions/configuration_steps.rb:6
  2. This scenario ran at: 2016-10-25 12:29:01 +0000
  3. When I follow "Create a New Configuration Channel"
    features/step_definitions/navigation_steps.rb:61
  4. And I enter "Test Channel2" as "cofName"
    features/step_definitions/navigation_steps.rb:37
  5. And I enter "!testchannel" as "cofLabel"
    features/step_definitions/navigation_steps.rb:37
  6. And I enter "This is a test channel 2" as "cofDescription"
    features/step_definitions/navigation_steps.rb:37
  7. And I click on "Create Config Channel"
    features/step_definitions/navigation_steps.rb:50
  8. Then I should see a "Configuration channel label contains invalid characters. In addition to alphanumeric characters, '-', '_', and '.' are allowed." text
    features/step_definitions/content_steps.rb:20
  9. And I should see a "Update Channel" button
    features/step_definitions/content_steps.rb:80
# Copyright (c) 2015 SUSE LLC
# Licensed under the terms of the MIT license.

Feature: Register a client

In Order register a client to the spacewalk server
As the root user
I want to call rhnreg_ks

features/register_client.feature:9

Scenario: Register a client

  1. Given I am root
    features/step_definitions/register_client_steps.rb:3
  2. This scenario ran at: 2016-10-25 12:29:02 +0000
  3. When I register using an activation key
    features/step_definitions/register_client_steps.rb:29
  4. Then I should see this client in spacewalk
    features/step_definitions/register_client_steps.rb:35
@pxe_envfeatures/register_client.feature:15

Scenario: trigger the creation of a cobbler system record

  1. Given I am authorized
    features/step_definitions/log_in_out_steps.rb:12
  2. This scenario ran at: 2016-10-25 12:29:12 +0000
  3. When I follow "Systems"
    features/step_definitions/navigation_steps.rb:61
  4. And I follow this client link
    features/step_definitions/register_client_steps.rb:66
  5. And I follow "Provisioning"
    features/step_definitions/navigation_steps.rb:61
  6. And I click on "Create PXE installation configuration"
    features/step_definitions/navigation_steps.rb:50
  7. And I click on "Continue"
    features/step_definitions/navigation_steps.rb:50
  8. Then file "/srv/tftpboot/pxelinux.cfg/01-*" contains "ks="
    features/step_definitions/command_steps.rb:45
# Copyright (c) 2015 SUSE LLC
# Licensed under the terms of the MIT license.

Feature: Create a configuration channel

In Configuration
As the admin user
I want to create a configuration channel

features/test_config_channel.feature:9

Scenario: Successfully create configuration channel

  1. Given I am testing configuration
    features/step_definitions/configuration_steps.rb:6
  2. This scenario ran at: 2016-10-25 12:29:14 +0000
  3. When I follow "Create a New Configuration Channel"
    features/step_definitions/navigation_steps.rb:61
  4. And I enter "New Test Channel" as "cofName"
    features/step_definitions/navigation_steps.rb:37
  5. And I enter "newtestchannel" as "cofLabel"
    features/step_definitions/navigation_steps.rb:37
  6. And I enter "This is a test channel" as "cofDescription"
    features/step_definitions/navigation_steps.rb:37
  7. And I click on "Create Config Channel"
    features/step_definitions/navigation_steps.rb:50
  8. Then I should see a "Test Channel" text
    features/step_definitions/content_steps.rb:20
  9. And I should see a "Add Files" link
    features/step_definitions/content_steps.rb:62
  10. And I should see a "Systems" link in the content area
    features/step_definitions/content_steps.rb:130
  11. And I should see a "Edit Properties" link
    features/step_definitions/content_steps.rb:62
  12. And I should see a "Configuration Actions" text
    features/step_definitions/content_steps.rb:20
  13. And I should see a "Add/Create Files" text
    features/step_definitions/content_steps.rb:20
  14. And I should see a "Create configuration file or directory" link
    features/step_definitions/content_steps.rb:62
  15. And I should see a "Upload configuration files" link
    features/step_definitions/content_steps.rb:62
  16. And I should see a "Import a file from another channel or system" link
    features/step_definitions/content_steps.rb:62
  17. And I should see a "delete channel" link
    features/step_definitions/content_steps.rb:62
features/test_config_channel.feature:27

Scenario: Add a config file to newtestchannel

  1. Given I am testing configuration
    features/step_definitions/configuration_steps.rb:6
  2. This scenario ran at: 2016-10-25 12:29:15 +0000
  3. When I follow "Configuration Channels" in the left menu
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "New Test Channel"
    features/step_definitions/navigation_steps.rb:61
  5. And I follow "Create configuration file or directory"
    features/step_definitions/navigation_steps.rb:61
  6. And I enter "/etc/mgr-test-file.cnf" as "cffPath"
    features/step_definitions/navigation_steps.rb:37
  7. And I enter "MGR_PROXY=yes" in the editor
    features/step_definitions/navigation_steps.rb:151
  8. And I click on "Create Configuration File"
    features/step_definitions/navigation_steps.rb:50
  9. Then I should see a "Revision 1 of /etc/mgr-test-file.cnf from channel New Test Channel" text
    features/step_definitions/content_steps.rb:20
  10. And I should see a "Update Configuration File" button
    features/step_definitions/content_steps.rb:80
features/test_config_channel.feature:38

Scenario: Subscribe system to channel

  1. Given I am on the Systems overview page of this client
    features/step_definitions/register_client_steps.rb:11
  2. This scenario ran at: 2016-10-25 12:29:17 +0000
  3. When I follow "Configuration" in the content area
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "Manage Configuration Channels" in the content area
    features/step_definitions/navigation_steps.rb:116
  5. And I follow first "Subscribe to Channels" in the content area
    features/step_definitions/navigation_steps.rb:129
  6. And I check "New Test Channel" in the list
    features/step_definitions/content_steps.rb:264
  7. And I click on "Continue"
    features/step_definitions/navigation_steps.rb:50
  8. And I click on "Update Channel Rankings"
    features/step_definitions/navigation_steps.rb:50
  9. Then I should see a "Channel Subscriptions successfully changed for" text
    features/step_definitions/content_steps.rb:20
features/test_config_channel.feature:48

Scenario: Check Centrally Managed Files

  1. Given I am testing configuration
    features/step_definitions/configuration_steps.rb:6
  2. This scenario ran at: 2016-10-25 12:29:19 +0000
  3. When I follow "Configuration Files" in the left menu
    features/step_definitions/navigation_steps.rb:116
  4. Then I should see a table line with "/etc/mgr-test-file.cnf", "New Test Channel", "1 system"
    features/step_definitions/configuration_steps.rb:17
features/test_config_channel.feature:53

Scenario: Check Centrally Managed Files of this client

  1. Given I am on the Systems overview page of this client
    features/step_definitions/register_client_steps.rb:11
  2. This scenario ran at: 2016-10-25 12:29:20 +0000
  3. When I follow "Configuration" in the content area
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "View/Modify Files" in the content area
    features/step_definitions/navigation_steps.rb:116
  5. And I follow "Centrally-Managed Files" in the content area
    features/step_definitions/navigation_steps.rb:116
  6. Then I should see a table line with "/etc/mgr-test-file.cnf", "New Test Channel", "Revision 1"
    features/step_definitions/configuration_steps.rb:17
features/test_config_channel.feature:60

Scenario: Deploy Centrally Managed Files

  1. Given I am testing configuration
    features/step_definitions/configuration_steps.rb:6
  2. This scenario ran at: 2016-10-25 12:29:21 +0000
  3. And I enable all actions
    features/step_definitions/configuration_steps.rb:39
  4. And I follow "Configuration Channels" in the left menu
    features/step_definitions/navigation_steps.rb:116
  5. And I follow "New Test Channel"
    features/step_definitions/navigation_steps.rb:61
  6. And I follow "Deploy all configuration files to all subscribed systems"
    features/step_definitions/navigation_steps.rb:61
  7. Then I should see a "/etc/mgr-test-file.cnf" link
    features/step_definitions/content_steps.rb:62
  8. And I should see this client as link
    features/step_definitions/register_client_steps.rb:62
  9. When I click on "Deploy Files to Selected Systems"
    features/step_definitions/navigation_steps.rb:50
  10. Then I should see a "1 revision-deploy is being scheduled." text
    features/step_definitions/content_steps.rb:20
  11. And I should see a "0 revision-deploys overridden." text
    features/step_definitions/content_steps.rb:20
features/test_config_channel.feature:72

Scenario: Check File deployment

  1. Given I am root
    features/step_definitions/register_client_steps.rb:3
  2. This scenario ran at: 2016-10-25 12:29:23 +0000
  3. When I run rhn_check on this client
    features/step_definitions/common_steps.rb:8
  4. Then On this client the File "/etc/mgr-test-file.cnf" should exists
    features/step_definitions/configuration_steps.rb:30
  5. And On this client the File "/etc/mgr-test-file.cnf" should have the content "MGR_PROXY=yes"
    features/step_definitions/configuration_steps.rb:34
features/test_config_channel.feature:78

Scenario: Change local file and compare

  1. Given I am root
    features/step_definitions/register_client_steps.rb:3
  2. This scenario ran at: 2016-10-25 12:29:24 +0000
  3. When I change the local file "/etc/mgr-test-file.cnf" to "MGR_PROXY=no"
    features/step_definitions/configuration_steps.rb:13
  4. Given I am on the Systems overview page of this client
    features/step_definitions/register_client_steps.rb:11
  5. When I follow "Configuration" in the content area
    features/step_definitions/navigation_steps.rb:116
  6. And I follow "Compare Files" in the content area
    features/step_definitions/navigation_steps.rb:116
  7. And I check "/etc/mgr-test-file.cnf" in the list
    features/step_definitions/content_steps.rb:264
  8. And I click on "Compare Files"
    features/step_definitions/navigation_steps.rb:50
  9. And I click on "Schedule Compare"
    features/step_definitions/navigation_steps.rb:50
  10. Then I should see a "1 files scheduled for comparison." text
    features/step_definitions/content_steps.rb:20
  11. When I run rhn_check on this client
    features/step_definitions/common_steps.rb:8
  12. And I follow "Events" in the content area
    features/step_definitions/navigation_steps.rb:116
  13. And I follow "History" in the content area
    features/step_definitions/navigation_steps.rb:116
  14. Then I should see a "Show differences between profiled config files and deployed config files scheduled by testing" link
    features/step_definitions/content_steps.rb:62
  15. When I follow first "Show differences between profiled config files and deployed config files"
    features/step_definitions/navigation_steps.rb:72
  16. Then I should see a "Differences exist" link
    features/step_definitions/content_steps.rb:62
  17. When I follow "Differences exist"
    features/step_definitions/navigation_steps.rb:61
  18. Then I should not see a "Differences exist in a file that is not readable by all. Re-deployment of configuration file is recommended." text
    features/step_definitions/content_steps.rb:55
  19. And I should see a "+MGR_PROXY=no" text
    features/step_definitions/content_steps.rb:20
features/test_config_channel.feature:99

Scenario: Import the changed file

  1. Given I am on the Systems overview page of this client
    features/step_definitions/register_client_steps.rb:11
  2. This scenario ran at: 2016-10-25 12:29:28 +0000
  3. When I follow "Configuration" in the content area
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "Add Files" in the content area
    features/step_definitions/navigation_steps.rb:116
  5. And I follow "Import Files" in the content area
    features/step_definitions/navigation_steps.rb:116
  6. And I check "/etc/mgr-test-file.cnf" in the list
    features/step_definitions/content_steps.rb:264
  7. And I click on "Import Configuration Files"
    features/step_definitions/navigation_steps.rb:50
  8. And I click on "Confirm"
    features/step_definitions/navigation_steps.rb:50
  9. Then I should see a "1 files scheduled for upload." text
    features/step_definitions/content_steps.rb:20
  10. When I run rhn_check on this client
    features/step_definitions/common_steps.rb:8
  11. And I follow "Configuration" in the content area
    features/step_definitions/navigation_steps.rb:116
  12. And I follow "View/Modify Files" in the content area
    features/step_definitions/navigation_steps.rb:116
  13. And I follow "Local Sandbox" in the content area
    features/step_definitions/navigation_steps.rb:116
  14. Then I should see a table line with "/etc/mgr-test-file.cnf", "Revision 1"
    features/step_definitions/configuration_steps.rb:24
    Unable to find xpath "//div[@class=\"table-responsive\"]/table/tbody/tr[.//td[contains(.,'/etc/mgr-test-file.cnf')]]" (Capybara::ElementNotFound)
    ./features/step_definitions/configuration_steps.rb:25:in `/^I should see a table line with "([^"]*)", "([^"]*)"$/'
    features/test_config_channel.feature:113:in `Then I should see a table line with "/etc/mgr-test-file.cnf", "Revision 1"'
    23
    24Then(/^I should see a table line with "([^"]*)", "([^"]*)"$/) do |arg1, arg2|
    25  within(:xpath, "//div[@class=\"table-responsive\"]/table/tbody/tr[.//td[contains(.,'#{arg1}')]]") do
    26      fail unless find_link("#{arg2}")
    27  end
    28# gem install syntax to get syntax highlighting
Screenshot
 
features/test_config_channel.feature:115

Scenario: Import the changed file

  1. Given I am on the Systems overview page of this client
    features/step_definitions/register_client_steps.rb:11
  2. This scenario ran at: 2016-10-25 12:29:42 +0000
  3. When I follow "Configuration" in the content area
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "Add Files" in the content area
    features/step_definitions/navigation_steps.rb:116
  5. And I follow "Import Files" in the content area
    features/step_definitions/navigation_steps.rb:116
  6. And I enter "/etc/sysconfig/cron" as "contents"
    features/step_definitions/navigation_steps.rb:37
  7. And I click on "Import Configuration Files"
    features/step_definitions/navigation_steps.rb:50
  8. And I click on "Confirm"
    features/step_definitions/navigation_steps.rb:50
  9. Then I should see a "1 files scheduled for upload." text
    features/step_definitions/content_steps.rb:20
  10. When I run rhn_check on this client
    features/step_definitions/common_steps.rb:8
  11. And I follow "Configuration" in the content area
    features/step_definitions/navigation_steps.rb:116
  12. And I follow "View/Modify Files" in the content area
    features/step_definitions/navigation_steps.rb:116
  13. And I follow "Local Sandbox" in the content area
    features/step_definitions/navigation_steps.rb:116
  14. Then I should see a table line with "/etc/sysconfig/cron", "Revision 1"
    features/step_definitions/configuration_steps.rb:24
    Unable to find xpath "//div[@class=\"table-responsive\"]/table/tbody/tr[.//td[contains(.,'/etc/sysconfig/cron')]]" (Capybara::ElementNotFound)
    ./features/step_definitions/configuration_steps.rb:25:in `/^I should see a table line with "([^"]*)", "([^"]*)"$/'
    features/test_config_channel.feature:129:in `Then I should see a table line with "/etc/sysconfig/cron", "Revision 1"'
    23
    24Then(/^I should see a table line with "([^"]*)", "([^"]*)"$/) do |arg1, arg2|
    25  within(:xpath, "//div[@class=\"table-responsive\"]/table/tbody/tr[.//td[contains(.,'#{arg1}')]]") do
    26      fail unless find_link("#{arg2}")
    27  end
    28# gem install syntax to get syntax highlighting
Screenshot
 
features/test_config_channel.feature:131

Scenario: Copy Sandbox file to Centrally-Managed

  1. Given I am on the Systems overview page of this client
    features/step_definitions/register_client_steps.rb:11
  2. This scenario ran at: 2016-10-25 12:29:55 +0000
  3. When I follow "Configuration" in the content area
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "View/Modify Files" in the content area
    features/step_definitions/navigation_steps.rb:116
  5. And I follow "Local Sandbox" in the content area
    features/step_definitions/navigation_steps.rb:116
  6. And I check "/etc/mgr-test-file.cnf" in the list
    features/step_definitions/content_steps.rb:264
    undefined method `first' for nil:NilClass (NoMethodError)
    ./features/step_definitions/content_steps.rb:273:in `block (2 levels) in '
    ./features/step_definitions/content_steps.rb:265:in `/^I check "([^"]*)" in the list$/'
    features/test_config_channel.feature:136:in `And I check "/etc/mgr-test-file.cnf" in the list'
    271          row = first(:xpath, "//div[@class=\"table-responsive\"]/table/tbody/tr[.//td[contains(.,'#{arg1}')]]")
    272      end
    273      row.first(:xpath, ".//input[@type=\"checkbox\"]").set(true)
    274  end
    275end
    276# gem install syntax to get syntax highlighting
  7. And I click on "Copy Latest to Central Channel"
    features/step_definitions/navigation_steps.rb:50
  8. And I check "New Test Channel" in the list
    features/step_definitions/content_steps.rb:264
  9. And I click on "Copy To Central Channels"
    features/step_definitions/navigation_steps.rb:50
  10. Then I should see a "1 file copied into 1 central configuration channel" text
    features/step_definitions/content_steps.rb:20
  11. And I should see a table line with "/etc/mgr-test-file.cnf", "Revision 2"
    features/step_definitions/configuration_steps.rb:24
  12. And I follow "Local Sandbox" in the content area
    features/step_definitions/navigation_steps.rb:116
  13. And I check "/etc/sysconfig/cron" in the list
    features/step_definitions/content_steps.rb:264
  14. And I click on "Copy Latest to Central Channel"
    features/step_definitions/navigation_steps.rb:50
  15. And I check "New Test Channel" in the list
    features/step_definitions/content_steps.rb:264
  16. And I click on "Copy To Central Channels"
    features/step_definitions/navigation_steps.rb:50
  17. Then I should see a "1 file copied into 1 central configuration channel" text
    features/step_definitions/content_steps.rb:20
  18. And I should see a table line with "/etc/sysconfig/cron", "Revision 1"
    features/step_definitions/configuration_steps.rb:24
Screenshot
 
features/test_config_channel.feature:150

Scenario: Add another config file to newtestchannel

  1. Given I am testing configuration
    features/step_definitions/configuration_steps.rb:6
  2. This scenario ran at: 2016-10-25 12:30:07 +0000
  3. When I follow "Configuration Channels" in the left menu
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "New Test Channel"
    features/step_definitions/navigation_steps.rb:61
  5. And I follow "Create configuration file or directory"
    features/step_definitions/navigation_steps.rb:61
  6. And I enter "/tmp/mycache.txt" as "cffPath"
    features/step_definitions/navigation_steps.rb:37
  7. And I enter "cache" in the editor
    features/step_definitions/navigation_steps.rb:151
  8. And I click on "Create Configuration File"
    features/step_definitions/navigation_steps.rb:50
  9. Then I should see a "Revision 1 of /tmp/mycache.txt from channel New Test Channel" text
    features/step_definitions/content_steps.rb:20
  10. And I should see a "Update Configuration File" button
    features/step_definitions/content_steps.rb:80
features/test_config_channel.feature:161

Scenario: Change one local file and compare multiple (bsc#910243, bsc#910247)

  1. Given I am root
    features/step_definitions/register_client_steps.rb:3
  2. This scenario ran at: 2016-10-25 12:30:09 +0000
  3. When I change the local file "/etc/mgr-test-file.cnf" to "MGR_PROXY=yes"
    features/step_definitions/configuration_steps.rb:13
  4. Given I am on the Systems overview page of this client
    features/step_definitions/register_client_steps.rb:11
  5. When I follow "Configuration" in the content area
    features/step_definitions/navigation_steps.rb:116
  6. And I follow "Compare Files" in the content area
    features/step_definitions/navigation_steps.rb:116
  7. And I check "/etc/mgr-test-file.cnf" in the list
    features/step_definitions/content_steps.rb:264
  8. And I check "/etc/sysconfig/cron" in the list
    features/step_definitions/content_steps.rb:264
    undefined method `first' for nil:NilClass (NoMethodError)
    ./features/step_definitions/content_steps.rb:273:in `block (2 levels) in '
    ./features/step_definitions/content_steps.rb:265:in `/^I check "([^"]*)" in the list$/'
    features/test_config_channel.feature:168:in `And I check "/etc/sysconfig/cron" in the list'
    271          row = first(:xpath, "//div[@class=\"table-responsive\"]/table/tbody/tr[.//td[contains(.,'#{arg1}')]]")
    272      end
    273      row.first(:xpath, ".//input[@type=\"checkbox\"]").set(true)
    274  end
    275end
    276# gem install syntax to get syntax highlighting
  9. And I check "/tmp/mycache.txt" in the list
    features/step_definitions/content_steps.rb:264
  10. And I click on "Compare Files"
    features/step_definitions/navigation_steps.rb:50
  11. And I click on "Schedule Compare"
    features/step_definitions/navigation_steps.rb:50
  12. Then I should see a "3 files scheduled for comparison." text
    features/step_definitions/content_steps.rb:20
  13. When I run rhn_check on this client
    features/step_definitions/common_steps.rb:8
  14. And I follow "Events" in the content area
    features/step_definitions/navigation_steps.rb:116
  15. And I follow "History" in the content area
    features/step_definitions/navigation_steps.rb:116
  16. Then I should see a "Show differences between profiled config files and deployed config files scheduled by testing" link
    features/step_definitions/content_steps.rb:62
  17. When I follow first "Show differences between profiled config files and deployed config files"
    features/step_definitions/navigation_steps.rb:72
  18. Then I should see a "Differences exist" link
    features/step_definitions/content_steps.rb:62
  19. And I should see a "/etc/mgr-test-file.cnf (rev. 2) Differences exist /etc/sysconfig/cron (rev. 1) /tmp/mycache.txt (rev. 1) Missing file" text
    features/step_definitions/content_steps.rb:20
  20. When I follow "Differences exist"
    features/step_definitions/navigation_steps.rb:61
  21. Then I should not see a "Differences exist in a file that is not readable by all. Re-deployment of configuration file is recommended." text
    features/step_definitions/content_steps.rb:55
  22. And I should see a "+MGR_PROXY=yes" text
    features/step_definitions/content_steps.rb:20
Screenshot
 
# Copyright (c) 2015 SUSE LLC
# Licensed under the terms of the MIT license.

Feature: Test action chaining

features/action_chain.feature:6

Scenario: wait for taskomatic finished required jobs

  1. Given Patches are visible for the registered client
    features/step_definitions/errata_steps.rb:23
  2. This scenario ran at: 2016-10-25 12:30:22 +0000
features/action_chain.feature:9

Scenario: I add a package installation to an action chain

  1. Given I am on the Systems overview page of this client
    features/step_definitions/register_client_steps.rb:11
  2. This scenario ran at: 2016-10-25 12:30:22 +0000
  3. When I follow "Software" in the content area
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "Install New Packages" in the content area
    features/step_definitions/navigation_steps.rb:116
  5. And I check "hoag-dummy-1.1-2.1" in the list
    features/step_definitions/content_steps.rb:264
  6. And I click on "Install Selected Packages"
    features/step_definitions/navigation_steps.rb:50
  7. And I check radio button "schedule-by-action-chain"
    features/step_definitions/action_chain_steps.rb:1
  8. And I click on "Confirm"
    features/step_definitions/navigation_steps.rb:50
  9. Then I should see a "Action has been successfully added to the Action Chain" text
    features/step_definitions/content_steps.rb:20
features/action_chain.feature:19

Scenario: I add a remote command to the action chain

  1. Given I am on the Systems overview page of this client
    features/step_definitions/register_client_steps.rb:11
  2. This scenario ran at: 2016-10-25 12:30:25 +0000
  3. When I follow "Remote Command"
    features/step_definitions/navigation_steps.rb:61
  4. And I enter as remote command this script in
    features/step_definitions/action_chain_steps.rb:13
    #!/bin/bash
    touch /root/12345
  5. And I check radio button "schedule-by-action-chain"
    features/step_definitions/action_chain_steps.rb:1
  6. And I click on "Schedule"
    features/step_definitions/navigation_steps.rb:50
  7. Then I should see a "Action has been successfully added to the Action Chain" text
    features/step_definitions/content_steps.rb:20
features/action_chain.feature:31

Scenario: I add a patch installation to the action chain

  1. Given I am on the Systems overview page of this client
    features/step_definitions/register_client_steps.rb:11
  2. This scenario ran at: 2016-10-25 12:30:26 +0000
  3. When I follow "Software" in the content area
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "Patches" in the content area
    features/step_definitions/navigation_steps.rb:116
  5. And I check "andromeda-dummy-6789" in the list
    features/step_definitions/content_steps.rb:264
  6. And I click on "Apply Patches"
    features/step_definitions/navigation_steps.rb:50
  7. And I check radio button "schedule-by-action-chain"
    features/step_definitions/action_chain_steps.rb:1
  8. And I click on "Confirm"
    features/step_definitions/navigation_steps.rb:50
  9. Then I should see a "Action has been successfully added to the Action Chain" text
    features/step_definitions/content_steps.rb:20
features/action_chain.feature:41

Scenario: I add a remove package to the action chain

  1. Given I am on the Systems overview page of this client
    features/step_definitions/register_client_steps.rb:11
  2. This scenario ran at: 2016-10-25 12:30:28 +0000
  3. When I follow "Software" in the content area
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "List / Remove" in the content area
    features/step_definitions/navigation_steps.rb:116
  5. And I check "adaptec-firmware" in the list
    features/step_definitions/content_steps.rb:264
    undefined method `first' for nil:NilClass (NoMethodError)
    ./features/step_definitions/content_steps.rb:273:in `block (2 levels) in '
    ./features/step_definitions/content_steps.rb:265:in `/^I check "([^"]*)" in the list$/'
    features/action_chain.feature:45:in `And I check "adaptec-firmware" in the list'
    271          row = first(:xpath, "//div[@class=\"table-responsive\"]/table/tbody/tr[.//td[contains(.,'#{arg1}')]]")
    272      end
    273      row.first(:xpath, ".//input[@type=\"checkbox\"]").set(true)
    274  end
    275end
    276# gem install syntax to get syntax highlighting
  6. And I click on "Remove Packages"
    features/step_definitions/navigation_steps.rb:50
  7. And I check radio button "schedule-by-action-chain"
    features/step_definitions/action_chain_steps.rb:1
  8. And I click on "Confirm"
    features/step_definitions/navigation_steps.rb:50
  9. Then I should see a "Action has been successfully added to the Action Chain" text
    features/step_definitions/content_steps.rb:20
Screenshot
 
features/action_chain.feature:51

Scenario: I add a verify package to the action chain

  1. Given I am on the Systems overview page of this client
    features/step_definitions/register_client_steps.rb:11
  2. This scenario ran at: 2016-10-25 12:30:40 +0000
  3. When I follow "Software" in the content area
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "Verify" in the content area
    features/step_definitions/navigation_steps.rb:116
  5. And I check "andromeda-dummy-1.0-4.1" in the list
    features/step_definitions/content_steps.rb:264
  6. And I click on "Verify Selected Packages"
    features/step_definitions/navigation_steps.rb:50
  7. And I check radio button "schedule-by-action-chain"
    features/step_definitions/action_chain_steps.rb:1
  8. And I click on "Confirm"
    features/step_definitions/navigation_steps.rb:50
  9. Then I should see a "Action has been successfully added to the Action Chain" text
    features/step_definitions/content_steps.rb:20
features/action_chain.feature:61

Scenario: I add a config file deployment to the action chain

  1. Given I am on the Systems overview page of this client
    features/step_definitions/register_client_steps.rb:11
  2. This scenario ran at: 2016-10-25 12:30:43 +0000
  3. When I follow "Configuration" in the tabs
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "Configuration Channels" in the left menu
    features/step_definitions/navigation_steps.rb:116
  5. And I follow "New Test Channel"
    features/step_definitions/navigation_steps.rb:61
  6. And I follow "Deploy Files" in the content area
    features/step_definitions/navigation_steps.rb:116
  7. And I click on "Deploy All Files"
    features/step_definitions/navigation_steps.rb:50
  8. And I check this client
    features/step_definitions/create_group_steps.rb:11
  9. And I click on "Confirm & Deploy to Selected Systems"
    features/step_definitions/navigation_steps.rb:50
  10. And I check radio button "schedule-by-action-chain"
    features/step_definitions/action_chain_steps.rb:1
  11. And I click on "Deploy Files to Selected Systems"
    features/step_definitions/navigation_steps.rb:50
  12. Then I should see a "3 actions are being added to Action Chain new action chain" text
    features/step_definitions/content_steps.rb:20
    ./features/step_definitions/content_steps.rb:24:in `/^I should see a "([^"]*)" text$/'
    features/action_chain.feature:72:in `Then I should see a "3 actions are being added to Action Chain new action chain" text'
    22    sleep 45
    23    print arg1
    24    fail unless page.has_content?(debrand_string(arg1))
    25  end
    26end
    27# gem install syntax to get syntax highlighting
Screenshot
 
features/action_chain.feature:74

Scenario: I add a reboot action to the action chain

  1. Given I am on the Systems overview page of this client
    features/step_definitions/register_client_steps.rb:11
  2. This scenario ran at: 2016-10-25 12:31:52 +0000
  3. When I follow "Schedule System Reboot" in the content area
    features/step_definitions/navigation_steps.rb:116
  4. And I check radio button "schedule-by-action-chain"
    features/step_definitions/action_chain_steps.rb:1
  5. And I click on "Reboot system"
    features/step_definitions/navigation_steps.rb:50
  6. Then I should see a "Action has been successfully added to the Action Chain" text
    features/step_definitions/content_steps.rb:20
features/action_chain.feature:81

Scenario: I verify the action chain list

  1. Given I am on the Systems overview page of this client
    features/step_definitions/register_client_steps.rb:11
  2. This scenario ran at: 2016-10-25 12:31:54 +0000
  3. When I follow "Schedule"
    features/step_definitions/navigation_steps.rb:61
  4. And I follow "Action Chains"
    features/step_definitions/navigation_steps.rb:61
  5. And I follow "new action chain"
    features/step_definitions/navigation_steps.rb:61
  6. And I should see a "1. Install or update hoag-dummy on 1 system" text
    features/step_definitions/content_steps.rb:20
  7. And I should see a "2. Run a remote command on 1 system" text
    features/step_definitions/content_steps.rb:20
  8. And I should see a "3. Apply patch(es) andromeda-dummy-6789 on 1 system" text
    features/step_definitions/content_steps.rb:20
  9. And I should see a "4. Remove adaptec-firmware from 1 system" text
    features/step_definitions/content_steps.rb:20
    ./features/step_definitions/content_steps.rb:24:in `/^I should see a "([^"]*)" text$/'
    features/action_chain.feature:89:in `And I should see a "4. Remove adaptec-firmware from 1 system" text'
    22    sleep 45
    23    print arg1
    24    fail unless page.has_content?(debrand_string(arg1))
    25  end
    26end
    27# gem install syntax to get syntax highlighting
  10. And I should see a "5. Verify andromeda-dummy on 1 system" text
    features/step_definitions/content_steps.rb:20
  11. And I should see a text like "6. Deploy.*/etc/mgr-test-file.cnf.*to 1 system"
    features/step_definitions/content_steps.rb:45
  12. Then I should see a "7. Reboot 1 system" text
    features/step_definitions/content_steps.rb:20
Screenshot
 
features/action_chain.feature:94

Scenario: check that different user cannot see the action chain

  1. Given I am authorized as "admin" with password "admin"
    features/step_definitions/log_in_out_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:33:01 +0000
  3. When I follow "Schedule"
    features/step_definitions/navigation_steps.rb:61
  4. And I follow "Action Chains"
    features/step_definitions/navigation_steps.rb:61
  5. Then I should not see a "new action chain" link
    features/step_definitions/content_steps.rb:76
features/action_chain.feature:100

Scenario: I delete the action chain

  1. Given I am authorized as "testing" with password "testing"
    features/step_definitions/log_in_out_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:33:02 +0000
  3. Then I follow "Schedule"
    features/step_definitions/navigation_steps.rb:61
  4. And I follow "Action Chains"
    features/step_definitions/navigation_steps.rb:61
  5. And I follow "new action chain"
    features/step_definitions/navigation_steps.rb:61
  6. And I follow "delete action chain" in the content area
    features/step_definitions/navigation_steps.rb:116
  7. Then I click on "Delete"
    features/step_definitions/navigation_steps.rb:50
features/action_chain.feature:108

Scenario: I add a remote command to new action chain

  1. Given I am on the Systems overview page of this client
    features/step_definitions/register_client_steps.rb:11
  2. This scenario ran at: 2016-10-25 12:33:03 +0000
  3. When I follow "Remote Command"
    features/step_definitions/navigation_steps.rb:61
  4. And I enter as remote command this script in
    features/step_definitions/action_chain_steps.rb:13
    #!/bin/bash
    touch /root/webui-actionchain-test
  5. And I check radio button "schedule-by-action-chain"
    features/step_definitions/action_chain_steps.rb:1
  6. And I click on "Schedule"
    features/step_definitions/navigation_steps.rb:50
  7. Then I should see a "Action has been successfully added to the Action Chain" text
    features/step_definitions/content_steps.rb:20
features/action_chain.feature:120

Scenario: I execute the action chain from the web ui

  1. Given I am on the Systems overview page of this client
    features/step_definitions/register_client_steps.rb:11
  2. This scenario ran at: 2016-10-25 12:33:05 +0000
  3. When I follow "Schedule"
    features/step_definitions/navigation_steps.rb:61
  4. And I follow "Action Chains"
    features/step_definitions/navigation_steps.rb:61
  5. And I follow "new action chain"
    features/step_definitions/navigation_steps.rb:61
  6. And I should see a "1. Run a remote command on 1 system" text
    features/step_definitions/content_steps.rb:20
  7. Then I click on "Save and Schedule"
    features/step_definitions/navigation_steps.rb:50
  8. And I should see a "Action Chain new action chain has been scheduled for execution." text
    features/step_definitions/content_steps.rb:20
  9. When I run rhn_check on this client
    features/step_definitions/common_steps.rb:8
  10. Then "/root/webui-actionchain-test" exists on the filesystem
    features/step_definitions/salt_remote_cmds.rb:39
# Copyright (c) 2015 SUSE LLC
# Licensed under the terms of the MIT license.

Feature: Test XML-RPC "Action Chain" functionality.

@xmlrpcfeatures/xmlrpc_actionchain.feature:7

Scenario: Basic chain operations

  1. Given I am logged in via XML-RPC/actionchain as user "admin" and password "admin"
    features/step_definitions/xmlrpc_actionchain_steps.rb:14
  2. This scenario ran at: 2016-10-25 12:33:08 +0000
  3. When I call XML-RPC/createChain with chainLabel "Quick Brown Fox"
    features/step_definitions/xmlrpc_actionchain_steps.rb:38
  4. And I call actionchain.listChains() if label "Quick Brown Fox" is there
    features/step_definitions/xmlrpc_actionchain_steps.rb:44
  5. Then I delete the action chain
    features/step_definitions/xmlrpc_actionchain_steps.rb:49
  6. And there should be no action chain with the label "Quick Brown Fox"
    features/step_definitions/xmlrpc_actionchain_steps.rb:78
  7. When I call XML-RPC/createChain with chainLabel "Quick Brown Fox"
    features/step_definitions/xmlrpc_actionchain_steps.rb:38
  8. Then I call actionchain.renameChain() to rename it from "Quick Brown Fox" to "Slow Gray Elephant"
    features/step_definitions/xmlrpc_actionchain_steps.rb:66
  9. And there should be a new action chain with the label "Slow Gray Elephant"
    features/step_definitions/xmlrpc_actionchain_steps.rb:70
  10. And I delete an action chain, labeled "Slow Gray Elephant"
    features/step_definitions/xmlrpc_actionchain_steps.rb:57
  11. And there should be no action chain with the label "Slow Gray Elephant"
    features/step_definitions/xmlrpc_actionchain_steps.rb:78
  12. And no action chain with the label "Quick Brown Fox".
    features/step_definitions/xmlrpc_actionchain_steps.rb:82
@xmlrpcfeatures/xmlrpc_actionchain.feature:21

Scenario: Schedule operations

  1. Given I am logged in via XML-RPC/actionchain as user "admin" and password "admin"
    features/step_definitions/xmlrpc_actionchain_steps.rb:14
  2. This scenario ran at: 2016-10-25 12:33:08 +0000
  3. When I call XML-RPC/createChain with chainLabel "Quick Brown Fox"
    features/step_definitions/xmlrpc_actionchain_steps.rb:38
  4. And I call actionchain.addPackageInstall()
    features/step_definitions/xmlrpc_actionchain_steps.rb:112
  5. And I call actionchain.addPackageRemoval()
    features/step_definitions/xmlrpc_actionchain_steps.rb:119
  6. And I call actionchain.addPackageUpgrade()
    features/step_definitions/xmlrpc_actionchain_steps.rb:124
  7. And I call actionchain.addPackageVerify()
    features/step_definitions/xmlrpc_actionchain_steps.rb:131
  8. And I call actionchain.addScriptRun() with the script like "#!/bin/bash\nexit 1;"
    features/step_definitions/xmlrpc_actionchain_steps.rb:89
  9. And I call actionchain.addSystemReboot()
    features/step_definitions/xmlrpc_actionchain_steps.rb:107
  10. Then I should be able to see all these actions in the action chain
    features/step_definitions/xmlrpc_actionchain_steps.rb:93
  11. Running actions:
  12. - Run an arbitrary script
  13. - Package Verify
  14. - Package Install/Upgrade
  15. - Package Install/Upgrade
  16. - Package Removal
  17. - System reboot
  18. When I call actionchain.removeAction on each action within the chain
    features/step_definitions/xmlrpc_actionchain_steps.rb:139
  19. - Removed "Run an arbitrary script" action
  20. - Removed "Package Verify" action
  21. - Removed "Package Install/Upgrade" action
  22. - Removed "Package Install/Upgrade" action
  23. - Removed "Package Removal" action
  24. - Removed "System reboot" action
  25. Then I should be able to see that the current action chain is empty
    features/step_definitions/xmlrpc_actionchain_steps.rb:152
  26. And I delete the action chain
    features/step_definitions/xmlrpc_actionchain_steps.rb:49
@xmlrpcfeatures/xmlrpc_actionchain.feature:36

Scenario: Run the action chain

  1. Given I am logged in via XML-RPC/actionchain as user "admin" and password "admin"
    features/step_definitions/xmlrpc_actionchain_steps.rb:14
  2. This scenario ran at: 2016-10-25 12:33:09 +0000
  3. When I call XML-RPC/createChain with chainLabel "Quick Brown Fox"
    features/step_definitions/xmlrpc_actionchain_steps.rb:38
  4. And I call actionchain.addSystemReboot()
    features/step_definitions/xmlrpc_actionchain_steps.rb:107
  5. Then I should be able to see all these actions in the action chain
    features/step_definitions/xmlrpc_actionchain_steps.rb:93
  6. Running actions:
  7. - System reboot
  8. When I schedule the action chain
    features/step_definitions/xmlrpc_actionchain_steps.rb:157
  9. Then there should be no more my action chain
    features/step_definitions/xmlrpc_actionchain_steps.rb:161
  10. And I should see scheduled action, called "System reboot scheduled by admin"
    features/step_definitions/xmlrpc_actionchain_steps.rb:165
  11. Then I cancel all scheduled actions
    features/step_definitions/xmlrpc_actionchain_steps.rb:171
  12. - Removed "System reboot scheduled by admin" action
  13. And there should be no more any scheduled actions
    features/step_definitions/xmlrpc_actionchain_steps.rb:179
# Copyright (c) 2015 SUSE LLC
# Licensed under the terms of the MIT license.

Feature: System configuration

In Order to subscribe a system to a configuration channel
As an admin user
I want to go to the systems configuration page

@failedfeatures/system_configuration.feature:10

Scenario: Accessing system configuration

  1. Given I am authorized
    features/step_definitions/log_in_out_steps.rb:12
  2. This scenario ran at: 2016-10-25 12:33:09 +0000
  3. When I follow "Systems"
    features/step_definitions/navigation_steps.rb:61
  4. Then I should see a "System Overview" text
    features/step_definitions/content_steps.rb:20
  5. And I should see this client as link
    features/step_definitions/register_client_steps.rb:62
# Copyright (c) 2015 SUSE LLC
# Licensed under the terms of the MIT license.

Feature: Test custom system info key value pairs

In Order to test the functionality of custom system infos
As an authorized user
I want to create and delete custom system info key value pairs

Background

  1. Given I am on the Systems page
    features/step_definitions/systemspage_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:33:10 +0000
features/custom_system_info.feature:12

Scenario: Create a new key

  1. When I follow "Custom System Info" in the left menu
    features/step_definitions/navigation_steps.rb:116
  2. And I should see a "No Custom Info Keys Found" text
    features/step_definitions/content_steps.rb:20
  3. And I follow "Create Key"
    features/step_definitions/navigation_steps.rb:61
  4. And I should see a "Create Custom Info Key" text
    features/step_definitions/content_steps.rb:20
  5. And I enter "key-label" as "label"
    features/step_definitions/navigation_steps.rb:37
  6. And I enter "key-desc" as "description"
    features/step_definitions/navigation_steps.rb:37
  7. And I click on "Create Key"
    features/step_definitions/navigation_steps.rb:50
  8. Then I should see a "Successfully added 1 custom key." text
    features/step_definitions/content_steps.rb:20
features/custom_system_info.feature:22

Scenario: Add a value to a system

  1. When I follow "Systems" in the left menu
    features/step_definitions/navigation_steps.rb:116
  2. This scenario ran at: 2016-10-25 12:33:11 +0000
  3. And I follow this client link
    features/step_definitions/register_client_steps.rb:66
  4. And I follow "Custom Info"
    features/step_definitions/navigation_steps.rb:61
  5. And I follow "Create Value"
    features/step_definitions/navigation_steps.rb:61
  6. And I follow "key-label"
    features/step_definitions/navigation_steps.rb:61
  7. And I enter "key-value" as "value"
    features/step_definitions/navigation_steps.rb:37
  8. And I click on "Update Key"
    features/step_definitions/navigation_steps.rb:50
  9. Then I should see a "key-label" text
    features/step_definitions/content_steps.rb:20
  10. And I should see a "key-value" text
    features/step_definitions/content_steps.rb:20
  11. And I should see a "Edit this value" link
    features/step_definitions/content_steps.rb:62
features/custom_system_info.feature:34

Scenario: Edit the value

  1. When I follow this client link
    features/step_definitions/register_client_steps.rb:66
  2. This scenario ran at: 2016-10-25 12:33:13 +0000
  3. And I follow "Custom Info"
    features/step_definitions/navigation_steps.rb:61
  4. And I follow "Edit this value"
    features/step_definitions/navigation_steps.rb:61
  5. And I should see a "Edit Custom Value" text
    features/step_definitions/content_steps.rb:20
  6. And I enter "key-value-edited" as "value"
    features/step_definitions/navigation_steps.rb:37
  7. And I click on "Update Key"
    features/step_definitions/navigation_steps.rb:50
  8. Then I should see a "key-label" text
    features/step_definitions/content_steps.rb:20
  9. And I should see a "key-value-edited" text
    features/step_definitions/content_steps.rb:20
  10. And I should see a "Edit this value" link
    features/step_definitions/content_steps.rb:62
features/custom_system_info.feature:45

Scenario: Edit the key description

  1. When I follow "Custom System Info" in the left menu
    features/step_definitions/navigation_steps.rb:116
  2. This scenario ran at: 2016-10-25 12:33:15 +0000
  3. And I follow "key-label"
    features/step_definitions/navigation_steps.rb:61
  4. And I should see this client as link
    features/step_definitions/register_client_steps.rb:62
  5. And I enter "key-desc-edited" as "description"
    features/step_definitions/navigation_steps.rb:37
  6. And I click on "Update Key"
    features/step_definitions/navigation_steps.rb:50
  7. Then I should see a "key-label" link
    features/step_definitions/content_steps.rb:62
  8. And I should see a "key-desc-edited" text
    features/step_definitions/content_steps.rb:20
features/custom_system_info.feature:54

Scenario: Delete the value

  1. When I follow "Custom System Info" in the left menu
    features/step_definitions/navigation_steps.rb:116
  2. This scenario ran at: 2016-10-25 12:33:16 +0000
  3. And I follow "key-label"
    features/step_definitions/navigation_steps.rb:61
  4. And I follow this client link
    features/step_definitions/register_client_steps.rb:66
  5. And I follow "Custom Info"
    features/step_definitions/navigation_steps.rb:61
  6. And I follow "Edit this value"
    features/step_definitions/navigation_steps.rb:61
  7. And I follow "Delete Value"
    features/step_definitions/navigation_steps.rb:61
  8. And I click on "Remove Value"
    features/step_definitions/navigation_steps.rb:50
  9. Then I should see a "No custom information defined for this system." text
    features/step_definitions/content_steps.rb:20
features/custom_system_info.feature:64

Scenario: Delete the key

  1. When I follow "Custom System Info" in the left menu
    features/step_definitions/navigation_steps.rb:116
  2. This scenario ran at: 2016-10-25 12:33:19 +0000
  3. And I follow "key-label"
    features/step_definitions/navigation_steps.rb:61
  4. And I follow "Delete Key"
    features/step_definitions/navigation_steps.rb:61
  5. And I click on "Delete Key"
    features/step_definitions/navigation_steps.rb:50
  6. Then I should see a "No Custom Info Keys Found" text
    features/step_definitions/content_steps.rb:20
# Copyright (c) 2015 SUSE LLC
# Licensed under the terms of the MIT license.

Feature: Create a group

In Order manage systems
As the testing user
I want to create a group

features/create_group.feature:9

Scenario: fail to create a group

  1. Given I am on the groups page
    features/step_definitions/create_group_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:33:20 +0000
  3. When I follow "Create Group"
    features/step_definitions/navigation_steps.rb:61
  4. And I enter "newgroup" as "name"
    features/step_definitions/navigation_steps.rb:37
  5. And I click on "Create Group"
    features/step_definitions/navigation_steps.rb:50
  6. Then I should see a "Both name and description are required for System Groups." text
    features/step_definitions/content_steps.rb:20
features/create_group.feature:16

Scenario: fail to create a group

  1. Given I am on the groups page
    features/step_definitions/create_group_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:33:21 +0000
  3. When I follow "Create Group"
    features/step_definitions/navigation_steps.rb:61
  4. And I enter "My new group" as "description"
    features/step_definitions/navigation_steps.rb:37
  5. And I click on "Create Group"
    features/step_definitions/navigation_steps.rb:50
  6. Then I should see a "Both name and description are required for System Groups." text
    features/step_definitions/content_steps.rb:20
features/create_group.feature:23

Scenario: create a group

  1. Given I am on the groups page
    features/step_definitions/create_group_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:33:22 +0000
  3. When I follow "Create Group"
    features/step_definitions/navigation_steps.rb:61
  4. And I enter "newgroup" as "name"
    features/step_definitions/navigation_steps.rb:37
  5. And I enter "My new group" as "description"
    features/step_definitions/navigation_steps.rb:37
  6. And I click on "Create Group"
    features/step_definitions/navigation_steps.rb:50
  7. Then I should see a "System group newgroup created." text
    features/step_definitions/content_steps.rb:20
features/create_group.feature:31

Scenario: add a system to the group

  1. Given I am on the groups page
    features/step_definitions/create_group_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:33:23 +0000
  3. When I follow "newgroup"
    features/step_definitions/navigation_steps.rb:61
  4. And I follow "Target Systems"
    features/step_definitions/navigation_steps.rb:61
  5. And I check this client
    features/step_definitions/create_group_steps.rb:11
  6. And I click on "Add Systems"
    features/step_definitions/navigation_steps.rb:50
  7. Then I should see a "1 systems were added to newgroup server group." text
    features/step_definitions/content_steps.rb:20
features/create_group.feature:39

Scenario: check this client is part of newgroup

  1. Given I am on the groups page
    features/step_definitions/create_group_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:33:24 +0000
  3. When I follow "newgroup"
    features/step_definitions/navigation_steps.rb:61
  4. And I follow "Systems" in the content area
    features/step_definitions/navigation_steps.rb:116
  5. Then I should see this client as link
    features/step_definitions/register_client_steps.rb:62
# Copyright (c) 2015 SUSE LLC
# Licensed under the terms of the MIT license.

Feature: Add systems of a group to the System Set Manager (SSM)

In Order to manage multiple systems
As the testing user
I want to add the systems of group newgroup to the System Set Manager

features/add_sys_of_group_to_SSM.feature:9

Scenario: add newgroup to SSM

  1. Given I am on the groups page
    features/step_definitions/create_group_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:33:25 +0000
  3. And I click on "Use in SSM" for "newgroup"
    features/step_definitions/add_sys_of_group_to_ssm_steps.rb:4
  4. And I should see a "system selected" text
    features/step_definitions/content_steps.rb:20
  5. And I should see a "Selected Systems List" text
    features/step_definitions/content_steps.rb:20
  6. Then I should see this client as link
    features/step_definitions/register_client_steps.rb:62
# Copyright (c) 2015 SUSE LLC
# Licensed under the terms of the MIT license.
@javascript

Feature: Check configuration page/tab

Validate configuration page accessibility

features/configuration.feature:8

Scenario: Check configuration page content

  1. Given I am testing configuration
    features/step_definitions/configuration_steps.rb:6
  2. This scenario ran at: 2016-10-25 12:33:26 +0000
  3. Then I should see a "Configuration Overview" text
    features/step_definitions/content_steps.rb:20
  4. And I should see a "Configuration Summary" text
    features/step_definitions/content_steps.rb:20
  5. And I should see a "Configuration Actions" text
    features/step_definitions/content_steps.rb:20
  6. And I should see a "Systems with Managed Configuration Files" text
    features/step_definitions/content_steps.rb:20
  7. And I should see a "Configuration Channels" text
    features/step_definitions/content_steps.rb:20
  8. And I should see a "Centrally-managed Configuration Files" text
    features/step_definitions/content_steps.rb:20
  9. And I should see a "Locally-managed Configuration Files" text
    features/step_definitions/content_steps.rb:20
  10. And I should see a "Overview" link in the left menu
    features/step_definitions/content_steps.rb:130
  11. And I should see a "Configuration Channels" link in the left menu
    features/step_definitions/content_steps.rb:130
  12. And I should see a "Configuration Files" link in the left menu
    features/step_definitions/content_steps.rb:130
  13. And I should see a "Systems" link in the left menu
    features/step_definitions/content_steps.rb:130
  14. And I should see a "View Systems with Managed Configuration Files" link
    features/step_definitions/content_steps.rb:62
  15. And I should see a "View All Managed Configuration Files" link
    features/step_definitions/content_steps.rb:62
  16. And I should see a "View All Managed Configuration Channels" link
    features/step_definitions/content_steps.rb:62
  17. And I should see a "Create a New Configuration Channel" link
    features/step_definitions/content_steps.rb:62
  18. And I should see a "Enable Configuration Management on Systems" link
    features/step_definitions/content_steps.rb:62
features/configuration.feature:27

Scenario: Check "View Systems with Managed Configuration Files"

  1. Given I am testing configuration
    features/step_definitions/configuration_steps.rb:6
  2. This scenario ran at: 2016-10-25 12:33:27 +0000
  3. When I follow "View Systems with Managed Configuration Files"
    features/step_definitions/navigation_steps.rb:61
  4. Then I should see a "Managed Systems" link in the left menu
    features/step_definitions/content_steps.rb:130
  5. And I should see a "Target Systems" link in the left menu
    features/step_definitions/content_steps.rb:130
features/configuration.feature:33

Scenario: Check "View All Managed Configuration Files"

  1. Given I am testing configuration
    features/step_definitions/configuration_steps.rb:6
  2. This scenario ran at: 2016-10-25 12:33:27 +0000
  3. When I follow "View All Managed Configuration Files"
    features/step_definitions/navigation_steps.rb:61
  4. Then I should see a "Centrally Managed Files" link in the left menu
    features/step_definitions/content_steps.rb:130
  5. And I should see a "Locally Managed Files" link in the left menu
    features/step_definitions/content_steps.rb:130
features/configuration.feature:39

Scenario: Check "View All Managed Configuration Channels"

  1. Given I am testing configuration
    features/step_definitions/configuration_steps.rb:6
  2. This scenario ran at: 2016-10-25 12:33:28 +0000
  3. When I follow "View All Managed Configuration Channels"
    features/step_definitions/navigation_steps.rb:61
  4. Then I should see a "Create Config Channel" link
    features/step_definitions/content_steps.rb:62
features/configuration.feature:44

Scenario: Check "Enable Configuration Management on Systems"

  1. Given I am testing configuration
    features/step_definitions/configuration_steps.rb:6
  2. This scenario ran at: 2016-10-25 12:33:29 +0000
  3. When I follow "Enable Configuration Management on Systems"
    features/step_definitions/navigation_steps.rb:61
  4. Then I should see a "Managed Systems" link in the left menu
    features/step_definitions/content_steps.rb:130
  5. And I should see a "Target Systems" link in the left menu
    features/step_definitions/content_steps.rb:130
features/configuration.feature:50

Scenario: Check "Create a New Configuration Channel"

  1. Given I am testing configuration
    features/step_definitions/configuration_steps.rb:6
  2. This scenario ran at: 2016-10-25 12:33:29 +0000
  3. When I follow "Create a New Configuration Channel"
    features/step_definitions/navigation_steps.rb:61
  4. Then I should see a "New Config Channel" text
    features/step_definitions/content_steps.rb:20
  5. And I should see a "You must enter the configuration channel details below." text
    features/step_definitions/content_steps.rb:20
# Copyright (c) 2015 SUSE LLC
# Licensed under the terms of the MIT license.

Feature: Subscribe system to configuration channel

features/add_system_to_conf.feature:6

Scenario: Subscribe system to configuration channel

  1. Given I am testing configuration
    features/step_definitions/configuration_steps.rb:6
  2. This scenario ran at: 2016-10-25 12:33:30 +0000
  3. When I follow "Configuration Channels" in the left menu
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "Test Channel"
    features/step_definitions/navigation_steps.rb:61
  5. And I follow "Systems" in the content area
    features/step_definitions/navigation_steps.rb:116
  6. And I follow "Target Systems"
    features/step_definitions/navigation_steps.rb:61
  7. And I check this client
    features/step_definitions/create_group_steps.rb:11
  8. And I click on "Subscribe systems"
    features/step_definitions/navigation_steps.rb:50
  9. Then I should see a "Successfully subscribed 1 system(s)." text
    features/step_definitions/content_steps.rb:20
# Copyright (c) 2015 SUSE LLC
# Licensed under the terms of the MIT license.

Feature: Check errata

In Order to check if the errata import was successfull
As the testing user
I want to see the erratums in the web page including the packages

features/check_errata-npn.feature:9

Scenario: check all errata exists

  1. Given I am on the errata page
    features/step_definitions/errata_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:33:31 +0000
  3. When I follow "Relevant" in the left menu
    features/step_definitions/navigation_steps.rb:116
  4. Then I should see an update in the list
    features/step_definitions/errata_steps.rb:19
  5. And I should see a "virgo-dummy-3456" link
    features/step_definitions/content_steps.rb:62
features/check_errata-npn.feature:15

Scenario: check sles-release-6789 errata

  1. Given I am on the errata page
    features/step_definitions/errata_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:33:32 +0000
  3. When I follow "All" in the left menu
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "andromeda-dummy-6789"
    features/step_definitions/navigation_steps.rb:61
  5. Then I should see a "andromeda-dummy-6789 - Bug Fix Advisory" text
    features/step_definitions/content_steps.rb:20
  6. And I should see a "Test update for andromeda-dummy" text
    features/step_definitions/content_steps.rb:20
  7. And I should see a "SLES11-SP3-Updates x86_64 Channel" link
    features/step_definitions/content_steps.rb:62
  8. And I should see a "SLES11-SP3-Updates i586 Channel" link
    features/step_definitions/content_steps.rb:62
  9. And I should see a "reboot_suggested" text
    features/step_definitions/content_steps.rb:20
features/check_errata-npn.feature:25

Scenario: check sles-release-6789 errata packages

  1. Given I am on the errata page
    features/step_definitions/errata_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:33:33 +0000
  3. When I follow "All" in the left menu
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "andromeda-dummy-6789"
    features/step_definitions/navigation_steps.rb:61
  5. And I follow "Packages"
    features/step_definitions/navigation_steps.rb:61
  6. Then I should see a "SLES11-SP3-Updates x86_64 Channel" link
    features/step_definitions/content_steps.rb:62
  7. And I should see a "SLES11-SP3-Updates i586 Channel" link
    features/step_definitions/content_steps.rb:62
  8. And I should see a "sha256:3bb3a56e6654f14300ab815c3f6e2af848874c829541b4e1b342262bb2f72d30" text
    features/step_definitions/content_steps.rb:20
  9. And I should see a "andromeda-dummy-2.0-1.1-noarch" link
    features/step_definitions/content_steps.rb:62
features/check_errata-npn.feature:35

Scenario: check relevant errata for this client

  1. Given I am on the Systems overview page of this client
    features/step_definitions/register_client_steps.rb:11
  2. This scenario ran at: 2016-10-25 12:33:34 +0000
  3. When I follow "Software" in the content area
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "Errata" in the content area
    features/step_definitions/navigation_steps.rb:116
  5. Then I should see a "Relevant Errata" text
    features/step_definitions/content_steps.rb:20
  6. And I should see a "Test update for virgo-dummy" text
    features/step_definitions/content_steps.rb:20
features/check_errata-npn.feature:42

Scenario: regenerate search index for later tests

  1. Given I am root
    features/step_definitions/register_client_steps.rb:3
  2. This scenario ran at: 2016-10-25 12:33:35 +0000
  3. Then I clean the search index on the server
    features/step_definitions/command_steps.rb:108
# Copyright (c) 2015 SUSE LLC
# Licensed under the terms of the MIT license.

Feature: CVE Audit

In Order to check if systems are patched against certain vulnerabilities
As an authorized user
I want to see systems that need to be patched

Background

  1. Given I am authorized as "admin" with password "admin"
    features/step_definitions/log_in_out_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:33:36 +0000
features/cve_audit.feature:12

Scenario: schedule channel data refresh

  1. When I follow "Admin"
    features/step_definitions/navigation_steps.rb:61
  2. And I follow "Task Schedules"
    features/step_definitions/navigation_steps.rb:61
  3. And I follow "cve-server-channels-default"
    features/step_definitions/navigation_steps.rb:61
  4. And I follow "cve-server-channels-bunch"
    features/step_definitions/navigation_steps.rb:61
  5. And I click on "Single Run Schedule"
    features/step_definitions/navigation_steps.rb:50
  6. Then I should see a "bunch was scheduled" text
    features/step_definitions/content_steps.rb:20
  7. And I wait for "5" seconds
    features/step_definitions/common_steps.rb:4
features/cve_audit.feature:21

Scenario: feature should be accessible

  1. When I follow "Audit"
    features/step_definitions/navigation_steps.rb:61
  2. This scenario ran at: 2016-10-25 12:33:43 +0000
  3. Then I should see a "CVE Audit" link in the left menu
    features/step_definitions/content_steps.rb:130
  4. And I should see a "CVE Audit" text
    features/step_definitions/content_steps.rb:20
features/cve_audit.feature:26

Scenario: searching for a known CVE number

  1. When I follow "Audit"
    features/step_definitions/navigation_steps.rb:61
  2. This scenario ran at: 2016-10-25 12:33:43 +0000
  3. And I select "1999" from "cveIdentifierYear"
    features/step_definitions/navigation_steps.rb:26
  4. And I enter "9999" as "cveIdentifierId"
    features/step_definitions/navigation_steps.rb:37
  5. And I click on "Audit systems"
    features/step_definitions/navigation_steps.rb:50
  6. Then I should see this client as link
    features/step_definitions/register_client_steps.rb:62
  7. And I should see a "Affected, at least one patch available in an assigned channel" text
    features/step_definitions/content_steps.rb:20
  8. And I should see a "Install a new patch in this system" link
    features/step_definitions/content_steps.rb:62
  9. And I should see a "Only candidate is: milkyway-dummy-2345" text
    features/step_definitions/content_steps.rb:20
  10. And I should see a "Download CSV" link
    features/step_definitions/content_steps.rb:62
  11. And I should see an alphabar link to this system
    features/step_definitions/cve_audit_steps.rb:4
  12. And I should see a "Patch status" link
    features/step_definitions/content_steps.rb:62
  13. And I should see a "System" link
    features/step_definitions/content_steps.rb:62
  14. And I should see a "extra CVE data update" link
    features/step_definitions/content_steps.rb:62
  15. Then I follow "Install a new patch in this system"
    features/step_definitions/navigation_steps.rb:61
  16. And I should see a "Relevant Patches" text
    features/step_definitions/content_steps.rb:20
features/cve_audit.feature:43

Scenario: searching for an unknown CVE number

  1. When I follow "Audit"
    features/step_definitions/navigation_steps.rb:61
  2. This scenario ran at: 2016-10-25 12:33:45 +0000
  3. And I select "2012" from "cveIdentifierYear"
    features/step_definitions/navigation_steps.rb:26
  4. And I enter "2806" as "cveIdentifierId"
    features/step_definitions/navigation_steps.rb:37
  5. And I click on "Audit systems"
    features/step_definitions/navigation_steps.rb:50
  6. Then I should see a "The specified CVE number was not found" text
    features/step_definitions/content_steps.rb:20
features/cve_audit.feature:50

Scenario: selecting a system for the System Set Manager

  1. When I follow "Audit"
    features/step_definitions/navigation_steps.rb:61
  2. This scenario ran at: 2016-10-25 12:33:46 +0000
  3. And I select "1999" from "cveIdentifierYear"
    features/step_definitions/navigation_steps.rb:26
  4. And I enter "9999" as "cveIdentifierId"
    features/step_definitions/navigation_steps.rb:37
  5. And I click on "Audit systems"
    features/step_definitions/navigation_steps.rb:50
  6. And I should see a "Affected, at least one patch available in an assigned channel" text
    features/step_definitions/content_steps.rb:20
  7. When I check "Affected, at least one patch available in an assigned channel" in the list
    features/step_definitions/content_steps.rb:264
  8. Then I should see a "system selected" text
    features/step_definitions/content_steps.rb:20
  9. When I follow "Manage"
    features/step_definitions/navigation_steps.rb:61
  10. And I follow "Systems" in the content area
    features/step_definitions/navigation_steps.rb:116
  11. Then I should see this client as link
    features/step_definitions/register_client_steps.rb:62
  12. And I follow "Clear"
    features/step_definitions/navigation_steps.rb:61
# Copyright (c) 2015 SUSE LLC
# Licensed under the terms of the MIT license.

Feature: Test the XML-RPC CVE Audit feature.

Background

  1. Given I am on the Admin page
    features/step_definitions/adminpage_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:33:47 +0000
  3. When I follow "Task Schedules"
    features/step_definitions/navigation_steps.rb:61
  4. And I follow "cve-server-channels-default"
    features/step_definitions/navigation_steps.rb:61
  5. And I follow "cve-server-channels-bunch"
    features/step_definitions/navigation_steps.rb:61
  6. And I click on "Single Run Schedule"
    features/step_definitions/navigation_steps.rb:50
  7. Then I should see a "bunch was scheduled" text
    features/step_definitions/content_steps.rb:20
  8. And I wait for "10" seconds
    features/step_definitions/common_steps.rb:4
@xmlrpcfeatures/xmlrpc_cve_audit.feature:16

Scenario: before applying patches

  1. Given I am logged in via XML-RPC/cve audit as user "admin" and password "admin"
    features/step_definitions/xmlrpc_cve_audit_steps.rb:1
  2. When I call audit.listSystemsByPatchStatus with CVE identifier "CVE-1999-9979"
    features/step_definitions/xmlrpc_cve_audit_steps.rb:10
  3. Then I should get status "NOT_AFFECTED" for this client
    features/step_definitions/xmlrpc_cve_audit_steps.rb:21
  4. When I call audit.listSystemsByPatchStatus with CVE identifier "CVE-1999-9999"
    features/step_definitions/xmlrpc_cve_audit_steps.rb:10
  5. Then I should get status "AFFECTED_PATCH_APPLICABLE" for this client
    features/step_definitions/xmlrpc_cve_audit_steps.rb:21
  6. And I should get the sles11-sp3-updates channel
    features/step_definitions/xmlrpc_cve_audit_steps.rb:25
  7. And I should get the "milkyway-dummy-2345" patch
    features/step_definitions/xmlrpc_cve_audit_steps.rb:37
  8. Then I logout from XML-RPC/cve audit namespace.
    features/step_definitions/xmlrpc_cve_audit_steps.rb:42
@xmlrpcfeatures/xmlrpc_cve_audit.feature:27

Scenario: after applying patches

  1. When I follow "Systems"
    features/step_definitions/navigation_steps.rb:61
  2. This scenario ran at: 2016-10-25 12:34:00 +0000
  3. And I follow this client link
    features/step_definitions/register_client_steps.rb:66
  4. And I follow "Software"
    features/step_definitions/navigation_steps.rb:61
  5. And I follow "Patches" in the content area
    features/step_definitions/navigation_steps.rb:116
  6. And I check "milkyway-dummy-2345" in the list
    features/step_definitions/content_steps.rb:264
  7. And I click on "Apply Patches"
    features/step_definitions/navigation_steps.rb:50
  8. And I click on "Confirm"
    features/step_definitions/navigation_steps.rb:50
  9. And I wait for "5" seconds
    features/step_definitions/common_steps.rb:4
  10. And I run rhn_check on this client
    features/step_definitions/common_steps.rb:8
  11. Then I should see a "patch update has been scheduled" text
    features/step_definitions/content_steps.rb:20
  12. Given I am logged in via XML-RPC/cve audit as user "admin" and password "admin"
    features/step_definitions/xmlrpc_cve_audit_steps.rb:1
  13. When I call audit.listSystemsByPatchStatus with CVE identifier "CVE-1999-9999"
    features/step_definitions/xmlrpc_cve_audit_steps.rb:10
  14. Then I should get status "PATCHED" for this client
    features/step_definitions/xmlrpc_cve_audit_steps.rb:21
  15. And I should get the sles11-sp3-updates channel
    features/step_definitions/xmlrpc_cve_audit_steps.rb:25
  16. And I should get the "milkyway-dummy-2345" patch
    features/step_definitions/xmlrpc_cve_audit_steps.rb:37
  17. Then I logout from XML-RPC/cve audit namespace.
    features/step_definitions/xmlrpc_cve_audit_steps.rb:42
# Copyright (c) 2015 SUSE LLC
# Licensed under the terms of the MIT license.

Feature: Remove system from configuration channel

features/delete_system_from_conf.feature:6

Scenario: Remove system from configuration channel

  1. Given I am testing configuration
    features/step_definitions/configuration_steps.rb:6
  2. This scenario ran at: 2016-10-25 12:34:23 +0000
  3. When I follow "Configuration Channels" in the left menu
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "Test Channel"
    features/step_definitions/navigation_steps.rb:61
  5. And I follow "Systems" in the content area
    features/step_definitions/navigation_steps.rb:116
  6. And I check this client
    features/step_definitions/create_group_steps.rb:11
  7. And I click on "Unsubscribe systems"
    features/step_definitions/navigation_steps.rb:50
  8. Then I should see a "Successfully unsubscribed 1 system(s)." text
    features/step_definitions/content_steps.rb:20
# Copyright (c) 2015 SUSE LLC
# Licensed under the terms of the MIT license.

Feature: Listing and adding/removing channels using the spacewalk-channel command

In order to test the spacewalk-channel command
As user root
I want to be able to list available channels and add or remove them

features/spacewalk-channel.feature:9

Scenario: list available channels

  1. When I execute spacewalk-channel and pass "--available-channels -u admin -p admin"
    features/step_definitions/command_steps.rb:113
  2. This scenario ran at: 2016-10-25 12:34:24 +0000
  3. And I want to see all valid child channels
    features/step_definitions/spacewalk_channel_steps.rb:25
features/spacewalk-channel.feature:13

Scenario: add an invalid child channel (bnc#875958)

  1. When spacewalk-channel fails with "--add -c test_child_channel -u admin -p admin"
    features/step_definitions/command_steps.rb:118
  2. This scenario ran at: 2016-10-25 12:34:24 +0000
features/spacewalk-channel.feature:16

Scenario: add a valid child channel

  1. When I use spacewalk-channel to add a valid child channel
    features/step_definitions/spacewalk_channel_steps.rb:5
  2. This scenario ran at: 2016-10-25 12:34:24 +0000
features/spacewalk-channel.feature:19

Scenario: list subscribed channels after adding child

  1. When I execute spacewalk-channel and pass "--list"
    features/step_definitions/command_steps.rb:113
  2. This scenario ran at: 2016-10-25 12:34:25 +0000
  3. And I want to see all valid child channels
    features/step_definitions/spacewalk_channel_steps.rb:25
features/spacewalk-channel.feature:23

Scenario: remove a valid child channel

  1. When I use spacewalk-channel to remove a valid child channel
    features/step_definitions/spacewalk_channel_steps.rb:15
  2. This scenario ran at: 2016-10-25 12:34:25 +0000
features/spacewalk-channel.feature:26

Scenario: list subscribed channels after removing child

  1. When I execute spacewalk-channel and pass "--list"
    features/step_definitions/command_steps.rb:113
  2. This scenario ran at: 2016-10-25 12:34:25 +0000
  3. And I wont see any of the valid child channels
    features/step_definitions/spacewalk_channel_steps.rb:34
# Copyright (c) 2015 SUSE LLC
# Licensed under the terms of the MIT license.

Feature: mgr-bootstrap generation and registration

In Order to validate correct working of mgr-bootstrap command
As user root
I want to be able to create a bootstrap script
And register this client with it.

features/mgr-bootstrap.feature:10

Scenario: Create the bootstrap script

  1. When I execute mgr-bootstrap "--script=bootstrap-test.sh --no-up2date --allow-config-actions --allow-remote-commands"
    features/step_definitions/command_steps.rb:20
  2. This scenario ran at: 2016-10-25 12:34:26 +0000
  3. Then I want to get "* bootstrap script (written):"
    features/step_definitions/command_steps.rb:125
  4. And I want to get " '/srv/www/htdocs/pub/bootstrap/bootstrap-test.sh'"
    features/step_definitions/command_steps.rb:125
features/mgr-bootstrap.feature:15

Scenario: register this client using the bootstrap script

  1. When I fetch "pub/bootstrap/bootstrap-test.sh" from server
    features/step_definitions/command_steps.rb:29
  2. This scenario ran at: 2016-10-25 12:34:26 +0000
  3. And I execute "bootstrap-test.sh"
    features/step_definitions/command_steps.rb:33
  4. Then I should see this client in spacewalk
    features/step_definitions/register_client_steps.rb:35
  5. And "man" is installed on "client"
    features/step_definitions/content_steps.rb:247
  6. And config-actions are enabled
    features/step_definitions/register_client_steps.rb:70
  7. And remote-commands are enabled
    features/step_definitions/register_client_steps.rb:76
# Copyright (c) 2015 SUSE LLC
# Licensed under the terms of the MIT license.
#@wip

Feature: Explore the Channels page

In Order to validate completeness of the Channels page and it's subpages
As an authorized user
I want to see all the texts and links

Background

  1. Given I am testing channels
    features/step_definitions/channels_steps.rb:7
  2. This scenario ran at: 2016-10-25 12:34:32 +0000
features/channels.feature:13

Scenario: Completeness of Channels page

  1. When I follow "Channels"
    features/step_definitions/navigation_steps.rb:61
  2. Then I should see a "Full Software Channel List" text
    features/step_definitions/content_steps.rb:20
  3. And I should see a "Software Channels" link in the left menu
    features/step_definitions/content_steps.rb:130
  4. And I should see a "All Channels" link in the left menu
    features/step_definitions/content_steps.rb:130
  5. And I should see a "Popular Channels" link in the left menu
    features/step_definitions/content_steps.rb:130
  6. And I should see a "My Channels" link in the left menu
    features/step_definitions/content_steps.rb:130
  7. And I should see a "Shared Channels" link in the left menu
    features/step_definitions/content_steps.rb:130
  8. And I should see a "Retired Channels" link in the left menu
    features/step_definitions/content_steps.rb:130
  9. And I should see a "Package Search" link in the left menu
    features/step_definitions/content_steps.rb:130
  10. And I should see a "Manage Software Channels" link in the left menu
    features/step_definitions/content_steps.rb:130
  11. And I should see a "All Channels" link in the content area
    features/step_definitions/content_steps.rb:130
  12. And I should see a "Popular Channels" link in the content area
    features/step_definitions/content_steps.rb:130
  13. And I should see a "My Channels" link in the content area
    features/step_definitions/content_steps.rb:130
  14. And I should see a "Shared Channels" link in the content area
    features/step_definitions/content_steps.rb:130
  15. And I should see a "Retired Channels" link in the content area
    features/step_definitions/content_steps.rb:130
features/channels.feature:30

Scenario: Completeness of Channels page

  1. When I follow "Channels"
    features/step_definitions/navigation_steps.rb:61
  2. This scenario ran at: 2016-10-25 12:34:33 +0000
  3. And I follow "Popular Channels" in the left menu
    features/step_definitions/navigation_steps.rb:116
  4. Then I should see a "Popular Channels" text
    features/step_definitions/content_steps.rb:20
features/channels.feature:35

Scenario: Check Packages in SLES11-SP3-Updates x86_64 Channel

  1. When I follow "Channels"
    features/step_definitions/navigation_steps.rb:61
  2. This scenario ran at: 2016-10-25 12:34:34 +0000
  3. And I follow "SLES11-SP3-Updates x86_64 Channel"
    features/step_definitions/navigation_steps.rb:61
  4. And I follow "Packages"
    features/step_definitions/navigation_steps.rb:61
  5. Then I should see package "andromeda-dummy-2.0-1.1.noarch"
    features/step_definitions/channels_steps.rb:11
  6. And I should see package "hoag-dummy-1.1-2.1.i586"
    features/step_definitions/channels_steps.rb:11
  7. And I should see package "hoag-dummy-1.1-2.1.x86_64"
    features/step_definitions/channels_steps.rb:11
  8. And I should see package "milkyway-dummy-2.0-1.1.i586"
    features/step_definitions/channels_steps.rb:11
  9. And I should see package "milkyway-dummy-2.0-1.1.x86_64"
    features/step_definitions/channels_steps.rb:11
  10. And I should see package "virgo-dummy-2.0-1.1.noarch"
    features/step_definitions/channels_steps.rb:11
features/channels.feature:46

Scenario: Check Package metadata displayed in WebUI

  1. When I follow "Channels"
    features/step_definitions/navigation_steps.rb:61
  2. This scenario ran at: 2016-10-25 12:34:35 +0000
  3. And I follow "SLES11-SP3-Updates x86_64 Channel"
    features/step_definitions/navigation_steps.rb:61
  4. And I follow "Packages"
    features/step_definitions/navigation_steps.rb:61
  5. And I follow "andromeda-dummy-2.0-1.1.noarch"
    features/step_definitions/navigation_steps.rb:61
  6. Then I should see a "This is the andromeda dummy package used for testing SUSE Manager" text
    features/step_definitions/content_steps.rb:20
  7. And I should see a "SLES11-SP3-Updates x86_64 Channel" link
    features/step_definitions/content_steps.rb:62
  8. And I should see a "openSUSE Build Service" text
    features/step_definitions/content_steps.rb:20
  9. And I should see a "SHA256sum:" text
    features/step_definitions/content_steps.rb:20
  10. And I should see a "3bb3a56e6654f14300ab815c3f6e2af848874c829541b4e1b342262bb2f72d30" text
    features/step_definitions/content_steps.rb:20
  11. And I should see a "packages/1/3bb/andromeda-dummy/2.0-1.1/noarch/3bb3a56e6654f14300ab815c3f6e2af848874c829541b4e1b342262bb2f72d30/andromeda-dummy-2.0-1.1.noarch.rpm" text
    features/step_definitions/content_steps.rb:20
features/channels.feature:58

Scenario: Check Package dependencies page

  1. When I follow "Channels"
    features/step_definitions/navigation_steps.rb:61
  2. This scenario ran at: 2016-10-25 12:34:36 +0000
  3. And I follow "SLES11-SP3-Updates x86_64 Channel"
    features/step_definitions/navigation_steps.rb:61
  4. And I follow "Packages"
    features/step_definitions/navigation_steps.rb:61
  5. And I follow "andromeda-dummy-2.0-1.1.noarch"
    features/step_definitions/navigation_steps.rb:61
  6. And I follow "Dependencies"
    features/step_definitions/navigation_steps.rb:61
  7. Then I should see a "pam" text
    features/step_definitions/content_steps.rb:20
  8. And I should see a "rpmlib(PayloadIsLzma) <= 4.4.6-1" text
    features/step_definitions/content_steps.rb:20
  9. And I should see a "andromeda-dummy = 2.0-1.1" text
    features/step_definitions/content_steps.rb:20
features/channels.feature:68

Scenario: Check Package Changelog page

  1. When I follow "Channels"
    features/step_definitions/navigation_steps.rb:61
  2. This scenario ran at: 2016-10-25 12:34:38 +0000
  3. And I follow "SLES11-SP3-Updates x86_64 Channel"
    features/step_definitions/navigation_steps.rb:61
  4. And I follow "Packages"
    features/step_definitions/navigation_steps.rb:61
  5. And I follow "andromeda-dummy-2.0-1.1.noarch"
    features/step_definitions/navigation_steps.rb:61
  6. And I follow "Change Log"
    features/step_definitions/navigation_steps.rb:61
  7. Then I should see a "mc@suse.de" text
    features/step_definitions/content_steps.rb:20
  8. And I should see a "version 2.0" text
    features/step_definitions/content_steps.rb:20
features/channels.feature:77

Scenario: Check Package Filelist page

  1. When I follow "Channels"
    features/step_definitions/navigation_steps.rb:61
  2. This scenario ran at: 2016-10-25 12:34:39 +0000
  3. And I follow "SLES11-SP3-Updates x86_64 Channel"
    features/step_definitions/navigation_steps.rb:61
  4. And I follow "Packages"
    features/step_definitions/navigation_steps.rb:61
  5. And I follow "andromeda-dummy-2.0-1.1.noarch"
    features/step_definitions/navigation_steps.rb:61
  6. And I follow "File List"
    features/step_definitions/navigation_steps.rb:61
  7. Then I should see a "This package contains the following files." text
    features/step_definitions/content_steps.rb:20
  8. And I should see a "/usr/share/doc/packages/andromeda-dummy/COPYING" text
    features/step_definitions/content_steps.rb:20
  9. And I should see a "md5: 94d55d512a9ba36caa9b7df079bae19f" text
    features/step_definitions/content_steps.rb:20
# Copyright (c) 2015 SUSE LLC
# Licensed under the terms of the MIT license.

Feature: Test weak dependencies

In Order to validate the new added weak dependencies feature
As an authorized user
I want to see the weak deps in the package page and in the metadata on the client

Background

  1. Given I am testing channels
    features/step_definitions/channels_steps.rb:7
  2. This scenario ran at: 2016-10-25 12:34:41 +0000
features/weak_deps.feature:12

Scenario: Check Package metadata displayed in WebUI (Supplements)

  1. When I follow "Channels"
    features/step_definitions/navigation_steps.rb:61
  2. And I follow "SLES11-SP3-Updates x86_64 Channel"
    features/step_definitions/navigation_steps.rb:61
  3. And I follow "Packages"
    features/step_definitions/navigation_steps.rb:61
  4. And I follow "virgo-dummy-2.0-1.1.noarch"
    features/step_definitions/navigation_steps.rb:61
  5. And I follow "Dependencies"
    features/step_definitions/navigation_steps.rb:61
  6. Then I should see a "Recommends" text
    features/step_definitions/content_steps.rb:20
  7. And I should see a "Suggests" text
    features/step_definitions/content_steps.rb:20
  8. And I should see a "Supplements" text
    features/step_definitions/content_steps.rb:20
  9. And I should see a "packageand(a-blackhole:dummy)" text
    features/step_definitions/content_steps.rb:20
features/weak_deps.feature:23

Scenario: Check Package metadata displayed in WebUI (Recommends)

  1. When I follow "Channels"
    features/step_definitions/navigation_steps.rb:61
  2. This scenario ran at: 2016-10-25 12:34:42 +0000
  3. And I follow "SLES11-SP3-Updates x86_64 Channel"
    features/step_definitions/navigation_steps.rb:61
  4. And I follow "Packages"
    features/step_definitions/navigation_steps.rb:61
  5. And I follow "milkyway-dummy-2.0-1.1.x86_64"
    features/step_definitions/navigation_steps.rb:61
  6. And I follow "Dependencies"
    features/step_definitions/navigation_steps.rb:61
  7. Then I should see a "Recommends" text
    features/step_definitions/content_steps.rb:20
  8. And I should see a "Suggests" text
    features/step_definitions/content_steps.rb:20
  9. And I should see a "Supplements" text
    features/step_definitions/content_steps.rb:20
  10. And I should see a "filesystem" text
    features/step_definitions/content_steps.rb:20
features/weak_deps.feature:34

Scenario: Check Package metadata displayed in WebUI (Suggests)

  1. When I follow "Channels"
    features/step_definitions/navigation_steps.rb:61
  2. This scenario ran at: 2016-10-25 12:34:44 +0000
  3. And I follow "SLES11-SP3-Updates x86_64 Channel"
    features/step_definitions/navigation_steps.rb:61
  4. And I follow "Packages"
    features/step_definitions/navigation_steps.rb:61
  5. And I follow "milkyway-dummy-2.0-1.1.x86_64"
    features/step_definitions/navigation_steps.rb:61
  6. And I follow "Dependencies"
    features/step_definitions/navigation_steps.rb:61
  7. Then I should see a "Recommends" text
    features/step_definitions/content_steps.rb:20
  8. And I should see a "Suggests" text
    features/step_definitions/content_steps.rb:20
  9. And I should see a "Supplements" text
    features/step_definitions/content_steps.rb:20
  10. And I should see a "apache2" text
    features/step_definitions/content_steps.rb:20
features/weak_deps.feature:45

Scenario: Check Package metadata displayed in WebUI (Enhances) bnc 846436

  1. When I follow "Channels"
    features/step_definitions/navigation_steps.rb:61
  2. This scenario ran at: 2016-10-25 12:34:45 +0000
  3. And I follow "SLES11-SP3-Updates x86_64 Channel"
    features/step_definitions/navigation_steps.rb:61
  4. And I follow "Packages"
    features/step_definitions/navigation_steps.rb:61
  5. And I follow "orion-dummy-1.1-1.1.x86_64"
    features/step_definitions/navigation_steps.rb:61
  6. And I follow "Dependencies"
    features/step_definitions/navigation_steps.rb:61
  7. Then I should see a "Enhances" text
    features/step_definitions/content_steps.rb:20
  8. And I should see a "foobar" text
    features/step_definitions/content_steps.rb:20
features/weak_deps.feature:54

Scenario: Check local metdata for weak deps

  1. Given I am root
    features/step_definitions/register_client_steps.rb:3
  2. This scenario ran at: 2016-10-25 12:34:47 +0000
  3. When I refresh the metadata
    features/step_definitions/weak_deps_steps.rb:4
  4. Then I should have 'rpm:recommends.*filesystem.*rpm:recommends' in the metadata
    features/step_definitions/weak_deps_steps.rb:9
  5. And I should have 'rpm:supplements.*packageand.a-blackhole:dummy.*rpm:supplements' in the metadata
    features/step_definitions/weak_deps_steps.rb:9
  6. And I should have 'rpm:suggests.*apache2.*rpm:suggests' in the metadata
    features/step_definitions/weak_deps_steps.rb:9
  7. And I should have 'rpm:enhances.*foobar.*rpm:enhances' in the metadata
    features/step_definitions/weak_deps_steps.rb:9
# Copyright (c) 2015 SUSE LLC
# Licensed under the terms of the MIT license.

Feature: Test SUSE Manager generated metadata

In Order to validate the SUSE Manager generated metadata
As an local user
I want to see several xml elements and attributes in the metadata

features/metadata_check.feature:9

Scenario: Check pre requires

  1. Given I am root
    features/step_definitions/register_client_steps.rb:3
  2. This scenario ran at: 2016-10-25 12:34:50 +0000
  3. When I refresh the metadata
    features/step_definitions/weak_deps_steps.rb:4
  4. Then I should have 'pre="1"' in the metadata
    features/step_definitions/weak_deps_steps.rb:9
features/metadata_check.feature:14

Scenario: Check for empty epoch

  1. Given I am root
    features/step_definitions/register_client_steps.rb:3
  2. This scenario ran at: 2016-10-25 12:34:52 +0000
  3. When I refresh the metadata
    features/step_definitions/weak_deps_steps.rb:4
  4. Then I should not have 'epoch="0"' in the metadata
    features/step_definitions/weak_deps_steps.rb:16
# Copyright (c) 2015 SUSE LLC
# Licensed under the terms of the MIT license.

Feature: Regression tests

In Order to validate the package summary of a package in the metadata
As an authorized user
I want to see the summary do not contain a \n at the end

Background

  1. Given I am testing channels
    features/step_definitions/channels_steps.rb:7
  2. This scenario ran at: 2016-10-25 12:34:53 +0000
  3. And I am root
    features/step_definitions/register_client_steps.rb:3
  4. When I refresh the metadata
    features/step_definitions/weak_deps_steps.rb:4
  5. Then I should have 'summary.*</summary' in the metadata
    features/step_definitions/weak_deps_steps.rb:9
# Copyright (c) 2015 SUSE LLC
# Licensed under the terms of the MIT license.

Feature: Test support data available in the repos

In Order to check if the susedata.xml file was created
As an authorized user
I'll test for the file

Background

  1. Given I am testing channels
    features/step_definitions/channels_steps.rb:7
  2. This scenario ran at: 2016-10-25 12:34:55 +0000
features/check_support_data.feature:12

Scenario: Check local metdata for susedata.xml

  1. Given I am root
    features/step_definitions/register_client_steps.rb:3
  2. When I refresh the metadata
    features/step_definitions/weak_deps_steps.rb:4
  3. Then "susedata.xml.gz" should exists in the metadata
    features/step_definitions/weak_deps_steps.rb:23
# Copyright (c) 2015 SUSE LLC
# Licensed under the terms of the MIT license.

Feature: Check client registration

In Order check the registration of a client to the spacewalk server
As the testing
I want to see the system in the spacewalk server

features/check_registration.feature:9

Scenario: check registration values

  1. Given I update the profile of this client
    features/step_definitions/register_client_steps.rb:19
  2. This scenario ran at: 2016-10-25 12:34:57 +0000
  3. And I am on the Systems page
    features/step_definitions/systemspage_steps.rb:4
  4. And I follow "Systems" in the left menu
    features/step_definitions/navigation_steps.rb:116
  5. When I follow this client link
    features/step_definitions/register_client_steps.rb:66
  6. And I wait for the data update
    features/step_definitions/register_client_steps.rb:82
  7. Then I should see a "System Status" text
    features/step_definitions/content_steps.rb:20
  8. And I should see a "Software Updates Available" text
    features/step_definitions/content_steps.rb:20
  9. And I should see a "Critical:" link
    features/step_definitions/content_steps.rb:62
  10. And I should see a "Non-Critical:" link
    features/step_definitions/content_steps.rb:62
  11. And I should see a "Packages:" link
    features/step_definitions/content_steps.rb:62
  12. And I should see a "Edit These Properties" link
    features/step_definitions/content_steps.rb:62
  13. And I should see a "[Management]" text
    features/step_definitions/content_steps.rb:20
  14. And I should see a "Add to SSM" link
    features/step_definitions/content_steps.rb:62
  15. And I should see a "Delete System" link
    features/step_definitions/content_steps.rb:62
  16. And I should see a "Initial Registration Parameters:" text
    features/step_definitions/content_steps.rb:20
  17. And I should see a "OS: sles-release" text
    features/step_definitions/content_steps.rb:20
  18. And I should see a "Release: 12.1" text
    features/step_definitions/content_steps.rb:20
features/check_registration.feature:28

Scenario: check tab links "Details"

  1. Given I am on the Systems page
    features/step_definitions/systemspage_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:35:39 +0000
  3. And I follow "Systems" in the left menu
    features/step_definitions/navigation_steps.rb:116
  4. When I follow this client link
    features/step_definitions/register_client_steps.rb:66
  5. Then I should see a "Details" link in the content area
    features/step_definitions/content_steps.rb:130
  6. And I should see a "Software" link in the content area
    features/step_definitions/content_steps.rb:130
  7. And I should see a "Configuration" link in the content area
    features/step_definitions/content_steps.rb:130
  8. And I should see a "Provisioning" link in the content area
    features/step_definitions/content_steps.rb:130
  9. And I should see a "Groups" link in the content area
    features/step_definitions/content_steps.rb:130
  10. And I should see a "Events" link in the content area
    features/step_definitions/content_steps.rb:130
  11. And I should see a "Overview" link in the content area
    features/step_definitions/content_steps.rb:130
  12. And I should see a "Properties" link in the content area
    features/step_definitions/content_steps.rb:130
  13. And I should see a "Remote Command" link in the content area
    features/step_definitions/content_steps.rb:130
  14. And I should see a "Reactivation" link in the content area
    features/step_definitions/content_steps.rb:130
  15. And I should see a "Hardware" link in the content area
    features/step_definitions/content_steps.rb:130
  16. And I should see a "Migrate" link in the content area
    features/step_definitions/content_steps.rb:130
  17. And I should see a "Notes" link in the content area
    features/step_definitions/content_steps.rb:130
  18. And I should see a "Custom Info" link in the content area
    features/step_definitions/content_steps.rb:130
features/check_registration.feature:47

Scenario: check tab links "Software"

  1. Given I am on the Systems overview page of this client
    features/step_definitions/register_client_steps.rb:11
  2. This scenario ran at: 2016-10-25 12:35:40 +0000
  3. When I follow "Software" in the content area
    features/step_definitions/navigation_steps.rb:116
  4. Then I should see a "Details" link in the content area
    features/step_definitions/content_steps.rb:130
  5. And I should see a "Software" link in the content area
    features/step_definitions/content_steps.rb:130
  6. And I should see a "Configuration" link in the content area
    features/step_definitions/content_steps.rb:130
  7. And I should see a "Provisioning" link in the content area
    features/step_definitions/content_steps.rb:130
  8. And I should see a "Groups" link in the content area
    features/step_definitions/content_steps.rb:130
  9. And I should see a "Events" link in the content area
    features/step_definitions/content_steps.rb:130
  10. And I should see a "Errata" link in the content area
    features/step_definitions/content_steps.rb:130
  11. And I should see a "Packages" link in the content area
    features/step_definitions/content_steps.rb:130
  12. And I should see a "Software Channels" link in the content area
    features/step_definitions/content_steps.rb:130
  13. And I should see a "List / Remove" link
    features/step_definitions/content_steps.rb:62
  14. And I should see a "Upgrade" link
    features/step_definitions/content_steps.rb:62
  15. And I should see a "Install" link
    features/step_definitions/content_steps.rb:62
  16. And I should see a "Verify" link
    features/step_definitions/content_steps.rb:62
  17. And I should see a "Profiles" link
    features/step_definitions/content_steps.rb:62
  18. And I should see a "List / Remove Installed Packages" link
    features/step_definitions/content_steps.rb:62
  19. And I should see a "Verify Files and Packages" link
    features/step_definitions/content_steps.rb:62
  20. And I should see a "Upgrade Packages" link
    features/step_definitions/content_steps.rb:62
  21. And I should see a "Install New Packages" link
    features/step_definitions/content_steps.rb:62
  22. And I should see a "Compare Package Profiles / Manage Package Profiles" link
    features/step_definitions/content_steps.rb:62
  23. And I should see a "Update Package List" button
    features/step_definitions/content_steps.rb:80
features/check_registration.feature:71

Scenario: check tab links "Configuration"

  1. Given I am on the Systems overview page of this client
    features/step_definitions/register_client_steps.rb:11
  2. This scenario ran at: 2016-10-25 12:35:42 +0000
  3. When I follow "Configuration" in the content area
    features/step_definitions/navigation_steps.rb:116
  4. Then I should see a "Details" link in the content area
    features/step_definitions/content_steps.rb:130
  5. And I should see a "Software" link in the content area
    features/step_definitions/content_steps.rb:130
  6. And I should see a "Configuration" link in the content area
    features/step_definitions/content_steps.rb:130
  7. And I should see a "Provisioning" link in the content area
    features/step_definitions/content_steps.rb:130
  8. And I should see a "Groups" link in the content area
    features/step_definitions/content_steps.rb:130
  9. And I should see a "Events" link in the content area
    features/step_definitions/content_steps.rb:130
  10. And I should see a "Overview" link in the content area
    features/step_definitions/content_steps.rb:130
  11. And I should see a "View/Modify Files" link in the content area
    features/step_definitions/content_steps.rb:130
  12. And I should see a "Add Files" link in the content area
    features/step_definitions/content_steps.rb:130
  13. And I should see a "Deploy Files" link in the content area
    features/step_definitions/content_steps.rb:130
  14. And I should see a "Compare Files" link in the content area
    features/step_definitions/content_steps.rb:130
  15. And I should see a "Manage Configuration Channels" link in the content area
    features/step_definitions/content_steps.rb:130
  16. And I should see a "Deploy all managed config files" link
    features/step_definitions/content_steps.rb:62
  17. And I should see a "Deploy selected config files" link
    features/step_definitions/content_steps.rb:62
  18. And I should see a "Compare all managed files to system" link
    features/step_definitions/content_steps.rb:62
  19. And I should see a "Compare selected managed files to system" link
    features/step_definitions/content_steps.rb:62
  20. And I should see a "Create a new config file or dir" link
    features/step_definitions/content_steps.rb:62
  21. And I should see a "Upload config files" link
    features/step_definitions/content_steps.rb:62
  22. And I should see a "Import all managed files from system" link
    features/step_definitions/content_steps.rb:62
  23. And I should see a "Import selected files from system" link
    features/step_definitions/content_steps.rb:62
features/check_registration.feature:95

Scenario: check tab links "Provisioning"

  1. Given I am on the Systems overview page of this client
    features/step_definitions/register_client_steps.rb:11
  2. This scenario ran at: 2016-10-25 12:35:43 +0000
  3. When I follow "Provisioning" in the content area
    features/step_definitions/navigation_steps.rb:116
  4. Then I should see a "Details" link in the content area
    features/step_definitions/content_steps.rb:130
  5. And I should see a "Software" link in the content area
    features/step_definitions/content_steps.rb:130
  6. And I should see a "Configuration" link in the content area
    features/step_definitions/content_steps.rb:130
  7. And I should see a "Provisioning" link in the content area
    features/step_definitions/content_steps.rb:130
  8. And I should see a "Groups" link in the content area
    features/step_definitions/content_steps.rb:130
  9. And I should see a "Events" link in the content area
    features/step_definitions/content_steps.rb:130
  10. And I should see a "Kickstart" link in the content area
    features/step_definitions/content_steps.rb:130
  11. And I should see a "Snapshots" link in the content area
    features/step_definitions/content_steps.rb:130
  12. And I should see a "Snapshot Tags" link in the content area
    features/step_definitions/content_steps.rb:130
  13. And I should see a "Schedule" link in the content area
    features/step_definitions/content_steps.rb:130
features/check_registration.feature:109

Scenario: check tab links "Groups"

  1. Given I am on the Systems overview page of this client
    features/step_definitions/register_client_steps.rb:11
  2. This scenario ran at: 2016-10-25 12:35:44 +0000
  3. When I follow "Groups" in the content area
    features/step_definitions/navigation_steps.rb:116
  4. Then I should see a "Details" link in the content area
    features/step_definitions/content_steps.rb:130
  5. And I should see a "Software" link in the content area
    features/step_definitions/content_steps.rb:130
  6. And I should see a "Configuration" link in the content area
    features/step_definitions/content_steps.rb:130
  7. And I should see a "Provisioning" link in the content area
    features/step_definitions/content_steps.rb:130
  8. And I should see a "Groups" link in the content area
    features/step_definitions/content_steps.rb:130
  9. And I should see a "Events" link in the content area
    features/step_definitions/content_steps.rb:130
  10. And I should see a "List / Leave" link in the content area
    features/step_definitions/content_steps.rb:130
  11. And I should see a "Join" link in row 2 of the content menu
    features/step_definitions/content_steps.rb:156
  12. And I should see a "Join" link in the text
    features/step_definitions/content_steps.rb:84
    No System Groups. To add System Groups this system, please visit the Join tab
  13. And I should see a "System Groups" text
    features/step_definitions/content_steps.rb:20
features/check_registration.feature:130

Scenario: check tab links "Events"

  1. Given I am on the Systems overview page of this client
    features/step_definitions/register_client_steps.rb:11
  2. This scenario ran at: 2016-10-25 12:35:45 +0000
  3. When I follow "Events" in the content area
    features/step_definitions/navigation_steps.rb:116
  4. Then I should see a "Details" link in the content area
    features/step_definitions/content_steps.rb:130
  5. And I should see a "Software" link in the content area
    features/step_definitions/content_steps.rb:130
  6. And I should see a "Configuration" link in the content area
    features/step_definitions/content_steps.rb:130
  7. And I should see a "Provisioning" link in the content area
    features/step_definitions/content_steps.rb:130
  8. And I should see a "Groups" link in the content area
    features/step_definitions/content_steps.rb:130
  9. And I should see a "Events" link in the content area
    features/step_definitions/content_steps.rb:130
  10. And I should see a "Pending" link in the content area
    features/step_definitions/content_steps.rb:130
  11. And I should see a "History" link in the content area
    features/step_definitions/content_steps.rb:130
  12. And I should see a " Pending Events" text
    features/step_definitions/content_steps.rb:20
features/check_registration.feature:143

Scenario: check tab links "Details" => "Properties"

  1. Given I am on the Systems overview page of this client
    features/step_definitions/register_client_steps.rb:11
  2. This scenario ran at: 2016-10-25 12:35:47 +0000
  3. When I follow "Properties" in the content area
    features/step_definitions/navigation_steps.rb:116
  4. Then I should see a "Edit System Details" text
    features/step_definitions/content_steps.rb:20
  5. And I should see a "system_name" element in "systemDetailsForm" form
    features/step_definitions/content_steps.rb:234
  6. And I should see a "Management" text
    features/step_definitions/content_steps.rb:20
  7. And I should see a "receive_notifications" element in "systemDetailsForm" form
    features/step_definitions/content_steps.rb:234
  8. And I should see a "summary" element in "systemDetailsForm" form
    features/step_definitions/content_steps.rb:234
  9. And I should see a "autoerrataupdate" element in "systemDetailsForm" form
    features/step_definitions/content_steps.rb:234
  10. And I should see a "description" element in "systemDetailsForm" form
    features/step_definitions/content_steps.rb:234
  11. And I should see a "address" element in "systemDetailsForm" form
    features/step_definitions/content_steps.rb:234
  12. And I should see a "city" element in "systemDetailsForm" form
    features/step_definitions/content_steps.rb:234
  13. And I should see a "state" element in "systemDetailsForm" form
    features/step_definitions/content_steps.rb:234
  14. And I should see a "country" element in "systemDetailsForm" form
    features/step_definitions/content_steps.rb:234
  15. And I should see a "building" element in "systemDetailsForm" form
    features/step_definitions/content_steps.rb:234
  16. And I should see a "room" element in "systemDetailsForm" form
    features/step_definitions/content_steps.rb:234
  17. And I should see a "rack" element in "systemDetailsForm" form
    features/step_definitions/content_steps.rb:234
  18. And I should see a "Update Properties" button
    features/step_definitions/content_steps.rb:80
features/check_registration.feature:162

Scenario: check tab links "Details" => "Remote Command"

  1. Given I am on the Systems overview page of this client
    features/step_definitions/register_client_steps.rb:11
  2. This scenario ran at: 2016-10-25 12:35:48 +0000
  3. When I follow "Remote Command" in the content area
    features/step_definitions/navigation_steps.rb:116
  4. Then I should see a "Remote Command on" text
    features/step_definitions/content_steps.rb:20
  5. And I should see a "uid" element in "remoteCommandForm" form
    features/step_definitions/content_steps.rb:234
  6. And I should see a "gid" element in "remoteCommandForm" form
    features/step_definitions/content_steps.rb:234
  7. And I should see a "timeout" element in "remoteCommandForm" form
    features/step_definitions/content_steps.rb:234
  8. And I should see a "lbl" element in "remoteCommandForm" form
    features/step_definitions/content_steps.rb:234
  9. And I should see a "script_body" element in "remoteCommandForm" form
    features/step_definitions/content_steps.rb:234
  10. And I should see a "date_datepicker_widget_input" element in "remoteCommandForm" form
    features/step_definitions/content_steps.rb:234
  11. And I should see a "date_timepicker_widget_input" element in "remoteCommandForm" form
    features/step_definitions/content_steps.rb:234
  12. And I should see a "Schedule" button
    features/step_definitions/content_steps.rb:80
features/check_registration.feature:175

Scenario: check tab links "Details" => "Reactivation"

  1. Given I am on the Systems overview page of this client
    features/step_definitions/register_client_steps.rb:11
  2. This scenario ran at: 2016-10-25 12:35:50 +0000
  3. When I follow "Reactivation" in the content area
    features/step_definitions/navigation_steps.rb:116
  4. Then I should see a "System Activation Key" text
    features/step_definitions/content_steps.rb:20
  5. And I should see a "Generate New Key" button
    features/step_definitions/content_steps.rb:80
features/check_registration.feature:181

Scenario: check tab links "Details" => "Hardware"

  1. Given I am on the Systems overview page of this client
    features/step_definitions/register_client_steps.rb:11
  2. This scenario ran at: 2016-10-25 12:35:51 +0000
  3. When I follow "Hardware" in the content area
    features/step_definitions/navigation_steps.rb:116
  4. Then I should see a "Refresh Hardware List" text
    features/step_definitions/content_steps.rb:20
  5. And I should see a "Schedule Hardware Refresh" button
    features/step_definitions/content_steps.rb:80
features/check_registration.feature:187

Scenario: check tab links "Details" => "Migrate"

  1. Given I am on the Systems overview page of this client
    features/step_definitions/register_client_steps.rb:11
  2. This scenario ran at: 2016-10-25 12:35:52 +0000
  3. When I follow "Migrate" in the content area
    features/step_definitions/navigation_steps.rb:116
  4. Then I should see a "Migrate System Between Organizations" text
    features/step_definitions/content_steps.rb:20
  5. And I should see a "Migrate System" button
    features/step_definitions/content_steps.rb:80
features/check_registration.feature:193

Scenario: check tab links "Details" => "Notes"

  1. Given I am on the Systems overview page of this client
    features/step_definitions/register_client_steps.rb:11
  2. This scenario ran at: 2016-10-25 12:35:54 +0000
  3. When I follow "Notes" in the content area
    features/step_definitions/navigation_steps.rb:116
  4. Then I should see a "System Notes" text
    features/step_definitions/content_steps.rb:20
  5. And I should see a "Create Note" link
    features/step_definitions/content_steps.rb:62
features/check_registration.feature:199

Scenario: check tab links "Details" => "Custom Info"

  1. Given I am on the Systems overview page of this client
    features/step_definitions/register_client_steps.rb:11
  2. This scenario ran at: 2016-10-25 12:35:55 +0000
  3. When I follow "Custom Info" in the content area
    features/step_definitions/navigation_steps.rb:116
  4. Then I should see a "Custom System Information" text
    features/step_definitions/content_steps.rb:20
  5. And I should see a "Create Value" link
    features/step_definitions/content_steps.rb:62
  6. And I should see a "Custom System Information" link
    features/step_definitions/content_steps.rb:62
features/check_registration.feature:206

Scenario: check tab links "Software" => "Errata"

  1. Given I am on the Systems overview page of this client
    features/step_definitions/register_client_steps.rb:11
  2. This scenario ran at: 2016-10-25 12:35:56 +0000
  3. When I follow "Software" in the content area
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "Errata" in the content area
    features/step_definitions/navigation_steps.rb:116
  5. Then I should see a "Relevant Errata" text
    features/step_definitions/content_steps.rb:20
  6. And I should see a "Show" button
    features/step_definitions/content_steps.rb:80
  7. And I should see a "Test update for virgo-dummy" text
    features/step_definitions/content_steps.rb:20
  8. And I should see an update in the list
    features/step_definitions/errata_steps.rb:19
  9. And I should see a "andromeda-dummy-6789" link
    features/step_definitions/content_steps.rb:62
features/check_registration.feature:216

Scenario: check tab links "Software" => "Software Channels"

  1. Given I am on the Systems overview page of this client
    features/step_definitions/register_client_steps.rb:11
  2. This scenario ran at: 2016-10-25 12:35:57 +0000
  3. When I follow "Software" in the content area
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "Software Channels" in the content area
    features/step_definitions/navigation_steps.rb:116
  5. Then I should see a "Software Channel Subscriptions" text
    features/step_definitions/content_steps.rb:20
  6. And I should see a "Base Software Channel" text
    features/step_definitions/content_steps.rb:20
  7. And I should see a "Change Subscriptions" button
    features/step_definitions/content_steps.rb:80
  8. And I should see a "Confirm" button
    features/step_definitions/content_steps.rb:80
features/check_registration.feature:225

Scenario: check tab links "Configuration" => "View/Modify Files"

  1. Given I am on the Systems overview page of this client
    features/step_definitions/register_client_steps.rb:11
  2. This scenario ran at: 2016-10-25 12:35:59 +0000
  3. When I follow "Configuration" in the content area
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "View/Modify Files" in the content area
    features/step_definitions/navigation_steps.rb:116
  5. Then I should see a "Configuration Overview" text
    features/step_definitions/content_steps.rb:20
  6. And I should see a "Centrally-Managed Files" link in the content area
    features/step_definitions/content_steps.rb:130
  7. And I should see a "Locally-Managed Files" link in the content area
    features/step_definitions/content_steps.rb:130
  8. And I should see a "Local Sandbox" link in the content area
    features/step_definitions/content_steps.rb:130
  9. And I should see a "No files found" text
    features/step_definitions/content_steps.rb:20
features/check_registration.feature:235

Scenario: check tab links "Configuration" => "Add Files"

  1. Given I am on the Systems overview page of this client
    features/step_definitions/register_client_steps.rb:11
  2. This scenario ran at: 2016-10-25 12:36:01 +0000
  3. When I follow "Configuration" in the content area
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "Add Files" in the content area
    features/step_definitions/navigation_steps.rb:116
  5. Then I should see a "Upload Local File" text
    features/step_definitions/content_steps.rb:20
  6. And I should see a "Upload File" link in the content area
    features/step_definitions/content_steps.rb:130
  7. And I should see a "Import Files" link in the content area
    features/step_definitions/content_steps.rb:130
  8. And I should see a "Create File" link in the content area
    features/step_definitions/content_steps.rb:130
  9. And I should see a "cffUpload" element in "configFileForm" form
    features/step_definitions/content_steps.rb:234
  10. And I should see 2 "binary" fields in "configFileForm" form
    features/step_definitions/content_steps.rb:295
  11. And I should see a "cffPath" element in "configFileForm" form
    features/step_definitions/content_steps.rb:234
  12. And I should see a "cffUid" element in "configFileForm" form
    features/step_definitions/content_steps.rb:234
  13. And I should see a "cffGid" element in "configFileForm" form
    features/step_definitions/content_steps.rb:234
  14. And I should see a "cffPermissions" element in "configFileForm" form
    features/step_definitions/content_steps.rb:234
  15. And I should see a "cffSELinuxCtx" element in "configFileForm" form
    features/step_definitions/content_steps.rb:234
  16. And I should see a "cffMacroStart" element in "configFileForm" form
    features/step_definitions/content_steps.rb:234
  17. And I should see a "cffMacroEnd" element in "configFileForm" form
    features/step_definitions/content_steps.rb:234
  18. And I should see a "Upload Configuration File" button
    features/step_definitions/content_steps.rb:80
features/check_registration.feature:254

Scenario: check tab links "Configuration" => "Add Files" => "Import Files"

  1. Given I am on the Systems overview page of this client
    features/step_definitions/register_client_steps.rb:11
  2. This scenario ran at: 2016-10-25 12:36:02 +0000
  3. When I follow "Configuration" in the content area
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "Add Files" in the content area
    features/step_definitions/navigation_steps.rb:116
  5. And I follow "Import Files" in the content area
    features/step_definitions/navigation_steps.rb:116
  6. Then I should see a "Import Configuration Files from" text
    features/step_definitions/content_steps.rb:20
  7. And I should see a "contents" element in "configFileForm" form
    features/step_definitions/content_steps.rb:234
  8. And I should see a "Import Configuration Files" button
    features/step_definitions/content_steps.rb:80
features/check_registration.feature:263

Scenario: check tab links "Configuration" => "Add Files" => "Create File"

  1. Given I am on the Systems overview page of this client
    features/step_definitions/register_client_steps.rb:11
  2. This scenario ran at: 2016-10-25 12:36:04 +0000
  3. When I follow "Configuration" in the content area
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "Add Files" in the content area
    features/step_definitions/navigation_steps.rb:116
  5. And I follow "Create File" in the content area
    features/step_definitions/navigation_steps.rb:116
  6. Then I should see a "Create Local File" text
    features/step_definitions/content_steps.rb:20
  7. And I should see a "file_radio" element in "configFileForm" form
    features/step_definitions/content_steps.rb:234
  8. And I should see a "dir_radio" element in "configFileForm" form
    features/step_definitions/content_steps.rb:234
  9. And I should see a "symlink_radio" element in "configFileForm" form
    features/step_definitions/content_steps.rb:234
  10. And I should see a "cffPath" element in "configFileForm" form
    features/step_definitions/content_steps.rb:234
  11. And the "targetPath" field should be disabled
    features/step_definitions/content_steps.rb:226
  12. And I should see a "cffUid" element in "configFileForm" form
    features/step_definitions/content_steps.rb:234
  13. And I should see a "cffGid" element in "configFileForm" form
    features/step_definitions/content_steps.rb:234
  14. And I should see a "cffPermissions" element in "configFileForm" form
    features/step_definitions/content_steps.rb:234
  15. And I should see a "cffSELinuxCtx" element in "configFileForm" form
    features/step_definitions/content_steps.rb:234
  16. And I should see a "cffMacroStart" element in "configFileForm" form
    features/step_definitions/content_steps.rb:234
  17. And I should see a "cffMacroEnd" element in "configFileForm" form
    features/step_definitions/content_steps.rb:234
  18. And I should see a "contents" editor in "configFileForm" form
    features/step_definitions/content_steps.rb:240
  19. And I should see a "Create Configuration File" button
    features/step_definitions/content_steps.rb:80
features/check_registration.feature:283

Scenario: check tab links "Configuration" => "Deploy Files"

  1. Given I am on the Systems overview page of this client
    features/step_definitions/register_client_steps.rb:11
  2. This scenario ran at: 2016-10-25 12:36:06 +0000
  3. When I follow "Configuration" in the content area
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "Deploy Files" in the content area
    features/step_definitions/navigation_steps.rb:116
  5. Then I should see a "Deploy Files" text
    features/step_definitions/content_steps.rb:20
features/check_registration.feature:289

Scenario: check tab links "Configuration" => "Compare Files"

  1. Given I am on the Systems overview page of this client
    features/step_definitions/register_client_steps.rb:11
  2. This scenario ran at: 2016-10-25 12:36:07 +0000
  3. When I follow "Configuration" in the content area
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "Compare Files" in the content area
    features/step_definitions/navigation_steps.rb:116
  5. Then I should see a "Compare Files" text
    features/step_definitions/content_steps.rb:20
features/check_registration.feature:295

Scenario: check tab links "Configuration" => "Manage Configuration Channels"

  1. Given I am on the Systems overview page of this client
    features/step_definitions/register_client_steps.rb:11
  2. This scenario ran at: 2016-10-25 12:36:09 +0000
  3. When I follow "Configuration" in the content area
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "Manage Configuration Channels" in the content area
    features/step_definitions/navigation_steps.rb:116
  5. Then I should see a "Configuration Channels" text
    features/step_definitions/content_steps.rb:20
  6. And I should see a "List/Unsubscribe from Channels" link in the content area
    features/step_definitions/content_steps.rb:130
  7. And I should see a "Subscribe to Channels" link in the content area
    features/step_definitions/content_steps.rb:130
  8. And I should see a "View/Modify Rankings" link in the content area
    features/step_definitions/content_steps.rb:130
features/check_registration.feature:304

Scenario: check tab links "Configuration" => "Manage Configuration Channels" => "Subscribe to Channels"

  1. Given I am on the Systems overview page of this client
    features/step_definitions/register_client_steps.rb:11
  2. This scenario ran at: 2016-10-25 12:36:10 +0000
  3. When I follow "Configuration" in the content area
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "Manage Configuration Channels" in the content area
    features/step_definitions/navigation_steps.rb:116
  5. And I follow first "Subscribe to Channels" in the content area
    features/step_definitions/navigation_steps.rb:129
  6. Then I should see a "Configuration Channel Subscriptions" text
    features/step_definitions/content_steps.rb:20
features/check_registration.feature:311

Scenario: check tab links "Configuration" => "Manage Configuration Channels" => "View/Modify Rankings"

  1. Given I am on the Systems overview page of this client
    features/step_definitions/register_client_steps.rb:11
  2. This scenario ran at: 2016-10-25 12:36:12 +0000
  3. When I follow "Configuration" in the content area
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "Manage Configuration Channels" in the content area
    features/step_definitions/navigation_steps.rb:116
  5. And I follow "View/Modify Rankings" in the content area
    features/step_definitions/navigation_steps.rb:116
  6. Then I should see a "View/Modify Configuration Channel Ranks" text
    features/step_definitions/content_steps.rb:20
  7. And I should see a "selectedChannel" element in "channelRanksForm" form
    features/step_definitions/content_steps.rb:234
  8. And I should see a "up" button in "channelRanksForm" form
    features/step_definitions/content_steps.rb:170
  9. And I should see a "down" button in "channelRanksForm" form
    features/step_definitions/content_steps.rb:170
  10. And I should see a "Update Channel Rankings" button
    features/step_definitions/content_steps.rb:80
features/check_registration.feature:322

Scenario: check tab links "Provisioning" => "Snapshots"

  1. Given I am on the Systems overview page of this client
    features/step_definitions/register_client_steps.rb:11
  2. This scenario ran at: 2016-10-25 12:36:13 +0000
  3. When I follow "Provisioning" in the content area
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "Snapshots" in the content area
    features/step_definitions/navigation_steps.rb:116
  5. Then I should see a "System Snapshots" text
    features/step_definitions/content_steps.rb:20
  6. And I should see a "Package profile changed" link
    features/step_definitions/content_steps.rb:62
@unsurefeatures/check_registration.feature:330

Scenario: check tab links "Provisioning" => "Snapshots"

  1. Given I am on the Systems overview page of this client
    features/step_definitions/register_client_steps.rb:11
  2. This scenario ran at: 2016-10-25 12:36:15 +0000
  3. When I follow "Provisioning" in the content area
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "Snapshots" in the content area
    features/step_definitions/navigation_steps.rb:116
  5. And I follow "Package profile changed"
    features/step_definitions/navigation_steps.rb:61
  6. Then I should see a "Rollback" link in row 3 of the content menu
    features/step_definitions/content_steps.rb:156
  7. And I should see a "Groups" link in row 3 of the content menu
    features/step_definitions/content_steps.rb:156
  8. And I should see a "Channels" link in row 3 of the content menu
    features/step_definitions/content_steps.rb:156
  9. And I should see a "Packages" link in row 3 of the content menu
    features/step_definitions/content_steps.rb:156
  10. And I should see a "Config Channels" link in row 3 of the content menu
    features/step_definitions/content_steps.rb:156
  11. And I should see a "Config Files" link in row 3 of the content menu
    features/step_definitions/content_steps.rb:156
  12. And I should see a "Snapshot Tags" link in row 3 of the content menu
    features/step_definitions/content_steps.rb:156
  13. And I should see a "Rollback to Snapshot" button
    features/step_definitions/content_steps.rb:80
features/check_registration.feature:344

Scenario: check tab links "Provisioning" => "Snapshot Tags"

  1. Given I am on the Systems overview page of this client
    features/step_definitions/register_client_steps.rb:11
  2. This scenario ran at: 2016-10-25 12:36:17 +0000
  3. When I follow "Provisioning" in the content area
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "Snapshot Tags" in the content area
    features/step_definitions/navigation_steps.rb:116
  5. Then I should see a "Snapshot Tags" text
    features/step_definitions/content_steps.rb:20
  6. And I should see a "Create System Tag" link
    features/step_definitions/content_steps.rb:62
features/check_registration.feature:351

Scenario: check tab links "Groups" => "Join"

  1. Given I am on the Systems overview page of this client
    features/step_definitions/register_client_steps.rb:11
  2. This scenario ran at: 2016-10-25 12:36:18 +0000
  3. When I follow "Groups" in the content area
    features/step_definitions/navigation_steps.rb:116
  4. And I follow first "Join" in the content area
    features/step_definitions/navigation_steps.rb:129
  5. Then I should see a "System Group Membership" text
    features/step_definitions/content_steps.rb:20
features/check_registration.feature:357

Scenario: check tab links "Events" => "History"

  1. Given I am on the Systems overview page of this client
    features/step_definitions/register_client_steps.rb:11
  2. This scenario ran at: 2016-10-25 12:36:19 +0000
  3. When I follow "Events" in the content area
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "History" in the content area
    features/step_definitions/navigation_steps.rb:116
  5. Then I should see a "System History" text
    features/step_definitions/content_steps.rb:20
# Copyright (c) 2015 SUSE LLC
# Licensed under the terms of the MIT license.
# Since an advanced setup is needed for doing SP migration we test
# only the alert warning message here for now.

Feature: Check the SP Migration feature

In order to test the SP Migration feature
As the testing user
I want to see a message that no migration is available

features/sp_migration.feature:12

Scenario: check the warning message on tab "Software" => "SP Migration"

  1. Given I am on the Systems overview page of this client
    features/step_definitions/register_client_steps.rb:11
  2. This scenario ran at: 2016-10-25 12:36:21 +0000
  3. When I follow "Software" in the content area
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "SP Migration" in the content area
    features/step_definitions/navigation_steps.rb:116
  5. Then I should see a "Service Pack Migration - Target" text
    features/step_definitions/content_steps.rb:20
    ./features/step_definitions/content_steps.rb:24:in `/^I should see a "([^"]*)" text$/'
    features/sp_migration.feature:16:in `Then I should see a "Service Pack Migration - Target" text'
    22    sleep 45
    23    print arg1
    24    fail unless page.has_content?(debrand_string(arg1))
    25  end
    26end
    27# gem install syntax to get syntax highlighting
  6. And I should see a "SUSE Linux Enterprise Server 12 SP1" text
    features/step_definitions/content_steps.rb:20
  7. And the "targetProductSelected" field should be disabled
    features/step_definitions/content_steps.rb:226
Screenshot
 
# Copyright (c) 2015 SUSE LLC
# Licensed under the terms of the MIT license.

Feature: Explore the Errata page

In Order to validate completeness of the errata page
As a authorized user
I want to see all the texts and links

@erratafeatures/erratapage.feature:10

Scenario: Completeness of the side navigation bar and the content frame

  1. Given I am authorized
    features/step_definitions/log_in_out_steps.rb:12
  2. This scenario ran at: 2016-10-25 12:37:27 +0000
  3. When I follow "Errata"
    features/step_definitions/navigation_steps.rb:61
  4. Then I should see a "Errata Relevant to Your Systems" text
    features/step_definitions/content_steps.rb:20
  5. And I should see a "Relevant" link in the left menu
    features/step_definitions/content_steps.rb:130
  6. And I should see a "All" link in the left menu
    features/step_definitions/content_steps.rb:130
  7. And I should see a "Advanced Search" link in the left menu
    features/step_definitions/content_steps.rb:130
  8. And I should see a "Manage Errata" link in the left menu
    features/step_definitions/content_steps.rb:130
  9. And I should see a "Clone Errata" link in the left menu
    features/step_definitions/content_steps.rb:130
  10. And I should see a "Bugfix Errata" link
    features/step_definitions/content_steps.rb:62
  11. And I should see a "Enhancement Errata" link
    features/step_definitions/content_steps.rb:62
  12. And I should see a "Security Errata" link
    features/step_definitions/content_steps.rb:62
  13. And I should see a Sign Out link
    features/step_definitions/content_steps.rb:260
@erratafeatures/erratapage.feature:25

Scenario: Completeness of the main navigation bar

  1. Given I am authorized
    features/step_definitions/log_in_out_steps.rb:12
  2. This scenario ran at: 2016-10-25 12:37:28 +0000
  3. When I follow "Errata"
    features/step_definitions/navigation_steps.rb:61
  4. Then I should see a "Overview" link in the tab bar
    features/step_definitions/content_steps.rb:130
  5. And I should see a "Systems" link in the tab bar
    features/step_definitions/content_steps.rb:130
  6. And I should see a "Errata" link in the tab bar
    features/step_definitions/content_steps.rb:130
  7. And I should see a "Channels" link in the tab bar
    features/step_definitions/content_steps.rb:130
  8. And I should see a "Configuration" link in the tab bar
    features/step_definitions/content_steps.rb:130
  9. And I should see a "Schedule" link in the tab bar
    features/step_definitions/content_steps.rb:130
  10. And I should see a "Users" link in the tab bar
    features/step_definitions/content_steps.rb:130
  11. And I should see a "Help" link in the tab bar
    features/step_definitions/content_steps.rb:130
@erratafeatures/erratapage.feature:38

Scenario: Create new bugfix erratum with bnc URL

  1. Given I am on the Errata page
    features/step_definitions/erratapage_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:37:29 +0000
  3. And I follow "Manage Errata" in the left menu
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "Create Erratum"
    features/step_definitions/navigation_steps.rb:61
  5. When I enter "Test Erratum" as "synopsis"
    features/step_definitions/navigation_steps.rb:37
  6. And I enter "Test Advisory" as "advisoryName"
    features/step_definitions/navigation_steps.rb:37
  7. And I enter "Test Product" as "product"
    features/step_definitions/navigation_steps.rb:37
  8. And I enter "test@test.org" as "errataFrom"
    features/step_definitions/navigation_steps.rb:37
  9. And I enter "Test Topic" as "topic"
    features/step_definitions/navigation_steps.rb:37
  10. And I enter "Test Description" as "description"
    features/step_definitions/navigation_steps.rb:37
  11. And I enter "Test Solution" as "solution"
    features/step_definitions/navigation_steps.rb:37
  12. And I enter "620212" as "buglistId"
    features/step_definitions/navigation_steps.rb:37
  13. And I enter "Test Summary" as "buglistSummary"
    features/step_definitions/navigation_steps.rb:37
  14. And I enter "https://bugzilla.novell.com/show_bug.cgi?id=620212" as "buglistUrl"
    features/step_definitions/navigation_steps.rb:37
  15. And I enter "test,keywords" as "keywords"
    features/step_definitions/navigation_steps.rb:37
  16. And I enter "Test Reference" as "refersTo"
    features/step_definitions/navigation_steps.rb:37
  17. And I enter "Test Note" as "notes"
    features/step_definitions/navigation_steps.rb:37
  18. And I click on "Create Errata"
    features/step_definitions/navigation_steps.rb:50
  19. Then I should see a "Errata Test Advisory-1 created." text
    features/step_definitions/content_steps.rb:20
@erratafeatures/erratapage.feature:59

Scenario: Create new enhancement erratum with no bnc URL

  1. Given I am on the Errata page
    features/step_definitions/erratapage_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:37:30 +0000
  3. And I follow "Manage Errata" in the left menu
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "Create Erratum"
    features/step_definitions/navigation_steps.rb:61
  5. When I enter "Enhancement Erratum" as "synopsis"
    features/step_definitions/navigation_steps.rb:37
  6. And I enter "Enhancement Advisory" as "advisoryName"
    features/step_definitions/navigation_steps.rb:37
  7. And I select "Product Enhancement Advisory" from "advisoryType"
    features/step_definitions/navigation_steps.rb:26
  8. And I enter "Enhancement Product" as "product"
    features/step_definitions/navigation_steps.rb:37
  9. And I enter "Enhancement Topic" as "topic"
    features/step_definitions/navigation_steps.rb:37
  10. And I enter "Enhancement Description" as "description"
    features/step_definitions/navigation_steps.rb:37
  11. And I enter "Enhancement Solution" as "solution"
    features/step_definitions/navigation_steps.rb:37
  12. And I enter "1234" as "buglistId"
    features/step_definitions/navigation_steps.rb:37
  13. And I enter "Enhancement Summary" as "buglistSummary"
    features/step_definitions/navigation_steps.rb:37
  14. And I enter "Enhancement,keywords" as "keywords"
    features/step_definitions/navigation_steps.rb:37
  15. And I enter "Enhancement Reference" as "refersTo"
    features/step_definitions/navigation_steps.rb:37
  16. And I enter "Enhancement Note" as "notes"
    features/step_definitions/navigation_steps.rb:37
  17. And I click on "Create Errata"
    features/step_definitions/navigation_steps.rb:50
  18. Then I should see a "Errata Enhancement Advisory-1 created." text
    features/step_definitions/content_steps.rb:20
@erratafeatures/erratapage.feature:79

Scenario: Delete enhancement erratum

  1. Given I am on the Errata page
    features/step_definitions/erratapage_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:37:31 +0000
  3. And I follow "Manage Errata" in the left menu
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "Unpublished" in the left menu
    features/step_definitions/navigation_steps.rb:116
  5. And I check "Enhancement Advisory" erratum
    features/step_definitions/erratapage_steps.rb:15
  6. And I click on "Delete Errata"
    features/step_definitions/navigation_steps.rb:50
  7. And I click on "Confirm"
    features/step_definitions/navigation_steps.rb:50
  8. Then I should see a "Successfully deleted 1 errata." text
    features/step_definitions/content_steps.rb:20
@erratafeatures/erratapage.feature:89

Scenario: Publish erratum

  1. Given I am on the Errata page
    features/step_definitions/erratapage_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:37:33 +0000
  3. And I follow "Manage Errata" in the left menu
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "Unpublished" in the left menu
    features/step_definitions/navigation_steps.rb:116
  5. And I follow "Test Advisory"
    features/step_definitions/navigation_steps.rb:61
  6. And I click on "Publish Errata"
    features/step_definitions/navigation_steps.rb:50
  7. And I check test channel
    features/step_definitions/erratapage_steps.rb:11
  8. And I click on "Publish Errata"
    features/step_definitions/navigation_steps.rb:50
  9. Then I should see a "All Types" text
    features/step_definitions/content_steps.rb:20
  10. And I should see a "Test Erratum" text
    features/step_definitions/content_steps.rb:20
@erratafeatures/erratapage.feature:101

Scenario: View bugfix errata

  1. Given I am on the Errata page
    features/step_definitions/erratapage_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:37:34 +0000
  3. And I follow "All" in the left menu
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "Bugfix Errata"
    features/step_definitions/navigation_steps.rb:61
  5. Then I should see a "Test Erratum" text
    features/step_definitions/content_steps.rb:20
@erratafeatures/erratapage.feature:108

Scenario: View erratum

  1. Given I am on the Errata page
    features/step_definitions/erratapage_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:37:35 +0000
  3. And I follow "All" in the left menu
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "Test Advisory"
    features/step_definitions/navigation_steps.rb:61
  5. Then I should see a "Test Erratum" text
    features/step_definitions/content_steps.rb:20
  6. And I should see a "test@test.org" text
    features/step_definitions/content_steps.rb:20
  7. And I should see a "Test Topic" text
    features/step_definitions/content_steps.rb:20
  8. And I should see a "Test Description" text
    features/step_definitions/content_steps.rb:20
  9. And I should see a "Test Solution" text
    features/step_definitions/content_steps.rb:20
  10. And I should see a "Test Base Channel" link
    features/step_definitions/content_steps.rb:62
  11. And I should see a "Test Summary" link
    features/step_definitions/content_steps.rb:62
  12. And I should see a "keywords, test" text
    features/step_definitions/content_steps.rb:20
  13. And I should see a "Test Reference" text
    features/step_definitions/content_steps.rb:20
  14. And I should see a "Test Note" text
    features/step_definitions/content_steps.rb:20
@erratafeatures/erratapage.feature:124

Scenario: Check erratum in channel

  1. Given I am on the Errata page
    features/step_definitions/erratapage_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:37:36 +0000
  3. And I follow "Channels"
    features/step_definitions/navigation_steps.rb:61
  4. And I follow "Test Base Channel"
    features/step_definitions/navigation_steps.rb:61
  5. And I follow "Errata" in the content area
    features/step_definitions/navigation_steps.rb:116
  6. Then I should see a "Test Erratum" text
    features/step_definitions/content_steps.rb:20
@erratafeatures/erratapage.feature:132

Scenario: Delete erratum

  1. Given I am on the Errata page
    features/step_definitions/erratapage_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:37:36 +0000
  3. And I follow "Manage Errata" in the left menu
    features/step_definitions/navigation_steps.rb:116
  4. And I check "Test Advisory" erratum
    features/step_definitions/erratapage_steps.rb:15
  5. And I click on "Delete Errata"
    features/step_definitions/navigation_steps.rb:50
  6. And I click on "Confirm"
    features/step_definitions/navigation_steps.rb:50
  7. Then I should see a "Successfully deleted 1 errata." text
    features/step_definitions/content_steps.rb:20
# Copyright (c) 2015 SUSE LLC
# Licensed under the terms of the MIT license.

Feature: Lock packages on client

features/lock_packages_on_client.feature:6

Scenario: Lock a package on the client

  1. Given I am on the Systems overview page of this client
    features/step_definitions/register_client_steps.rb:11
  2. This scenario ran at: 2016-10-25 12:37:38 +0000
  3. And I follow "Software" in the content area
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "Lock"
    features/step_definitions/navigation_steps.rb:61
  5. When I check "hoag-dummy-1.1-2.1" in the list
    features/step_definitions/content_steps.rb:264
  6. And I click on "Lock"
    features/step_definitions/navigation_steps.rb:50
  7. And I run rhn_check on this client
    features/step_definitions/common_steps.rb:8
  8. Then I should see a "Packages has been requested for being locked." text
    features/step_definitions/content_steps.rb:20
  9. And "hoag-dummy-1.1-2.1" is locked on this client
    features/step_definitions/lock_packages_on_client.rb:4
  10. Then I follow "Lock"
    features/step_definitions/navigation_steps.rb:61
  11. And Package "hoag-dummy-1.1-2.1" is reported as locked
    features/step_definitions/lock_packages_on_client.rb:11
features/lock_packages_on_client.feature:18

Scenario: Attempt to install a locked package on the client

  1. Given I am on the Systems overview page of this client
    features/step_definitions/register_client_steps.rb:11
  2. This scenario ran at: 2016-10-25 12:37:41 +0000
  3. And I follow "Software" in the content area
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "Lock"
    features/step_definitions/navigation_steps.rb:61
  5. And Package "hoag-dummy-1.1-2.1" is reported as locked
    features/step_definitions/lock_packages_on_client.rb:11
  6. Then I follow "Install"
    features/step_definitions/navigation_steps.rb:61
  7. When I check "hoag-dummy-1.1-2.1" in the list
    features/step_definitions/content_steps.rb:264
  8. And I click on "Install Selected Packages"
    features/step_definitions/navigation_steps.rb:50
  9. And I click on "Confirm"
    features/step_definitions/navigation_steps.rb:50
  10. And I run rhn_check on this client
    features/step_definitions/common_steps.rb:8
  11. Then I should see a "1 package install has been scheduled for" text
    features/step_definitions/content_steps.rb:20
  12. And I follow "Events"
    features/step_definitions/navigation_steps.rb:61
  13. And I follow "History"
    features/step_definitions/navigation_steps.rb:61
  14. And I follow first "Package Install scheduled by testing"
    features/step_definitions/navigation_steps.rb:72
  15. Then The package scheduled is "hoag-dummy-1.1-2.1"
    features/step_definitions/lock_packages_on_client.rb:32
  16. And The action status is "Failed"
    features/step_definitions/lock_packages_on_client.rb:39
features/lock_packages_on_client.feature:35

Scenario: Unlock a package on the client

  1. Given I am on the Systems overview page of this client
    features/step_definitions/register_client_steps.rb:11
  2. This scenario ran at: 2016-10-25 12:37:45 +0000
  3. And I follow "Software" in the content area
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "Lock"
    features/step_definitions/navigation_steps.rb:61
  5. And Package "hoag-dummy-1.1-2.1" is reported as locked
    features/step_definitions/lock_packages_on_client.rb:11
  6. When I check "hoag-dummy-1.1-2.1" in the list
    features/step_definitions/content_steps.rb:264
  7. And I click on "Unlock"
    features/step_definitions/navigation_steps.rb:50
  8. And I run rhn_check on this client
    features/step_definitions/common_steps.rb:8
  9. Then I should see a "Packages has been requested for being unlocked." text
    features/step_definitions/content_steps.rb:20
  10. And "hoag-dummy-1.1-2.1" is unlocked on this client
    features/step_definitions/lock_packages_on_client.rb:18
  11. Then I follow "Lock"
    features/step_definitions/navigation_steps.rb:61
  12. And Package "hoag-dummy-1.1-2.1" is reported as unlocked
    features/step_definitions/lock_packages_on_client.rb:25
features/lock_packages_on_client.feature:48

Scenario: Schedule a package lock

  1. Given I am on the Systems overview page of this client
    features/step_definitions/register_client_steps.rb:11
  2. This scenario ran at: 2016-10-25 12:37:48 +0000
  3. And I follow "Software" in the content area
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "Lock"
    features/step_definitions/navigation_steps.rb:61
  5. When I check "hoag-dummy-1.1-2.1" in the list
    features/step_definitions/content_steps.rb:264
  6. And I click on "Lock"
    features/step_definitions/navigation_steps.rb:50
  7. Then I should see a "Packages has been requested for being locked." text
    features/step_definitions/content_steps.rb:20
  8. And Package "hoag-dummy-1.1-2.1" is reported as pending to be locked
    features/step_definitions/lock_packages_on_client.rb:43
features/lock_packages_on_client.feature:57

Scenario: Schedule another package lock

  1. Given I am on the Systems overview page of this client
    features/step_definitions/register_client_steps.rb:11
  2. This scenario ran at: 2016-10-25 12:37:51 +0000
  3. And I follow "Software" in the content area
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "Lock"
    features/step_definitions/navigation_steps.rb:61
  5. And Package "hoag-dummy-1.1-2.1" is reported as pending to be locked
    features/step_definitions/lock_packages_on_client.rb:43
  6. And Package "hoag-dummy-1.1-2.1" cannot be selected
    features/step_definitions/lock_packages_on_client.rb:59
  7. When I check "milkyway-dummy-2.0-1.1" in the list
    features/step_definitions/content_steps.rb:264
  8. And I click on "Lock"
    features/step_definitions/navigation_steps.rb:50
  9. Then I should see a "Packages has been requested for being locked." text
    features/step_definitions/content_steps.rb:20
  10. When I follow "Lock"
    features/step_definitions/navigation_steps.rb:61
  11. Then Package "hoag-dummy-1.1-2.1" is reported as pending to be locked
    features/step_definitions/lock_packages_on_client.rb:43
  12. And Package "hoag-dummy-1.1-2.1" cannot be selected
    features/step_definitions/lock_packages_on_client.rb:59
  13. And Package "milkyway-dummy-2.0-1.1" is reported as pending to be locked
    features/step_definitions/lock_packages_on_client.rb:43
  14. And Package "milkyway-dummy-2.0-1.1" cannot be selected
    features/step_definitions/lock_packages_on_client.rb:59
  15. When I run rhn_check on this client
    features/step_definitions/common_steps.rb:8
  16. Then "hoag-dummy-1.1-2.1" is locked on this client
    features/step_definitions/lock_packages_on_client.rb:4
  17. And "milkyway-dummy-2.0-1.1" is locked on this client
    features/step_definitions/lock_packages_on_client.rb:4
  18. When I follow "Lock"
    features/step_definitions/navigation_steps.rb:61
  19. Then Package "hoag-dummy-1.1-2.1" is reported as locked
    features/step_definitions/lock_packages_on_client.rb:11
  20. And Package "milkyway-dummy-2.0-1.1" is reported as locked
    features/step_definitions/lock_packages_on_client.rb:11
features/lock_packages_on_client.feature:78

Scenario: Mix package locks and unlock events

  1. Given I am on the Systems overview page of this client
    features/step_definitions/register_client_steps.rb:11
  2. This scenario ran at: 2016-10-25 12:37:56 +0000
  3. And I follow "Software" in the content area
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "Lock"
    features/step_definitions/navigation_steps.rb:61
  5. And Package "hoag-dummy-1.1-2.1" is reported as locked
    features/step_definitions/lock_packages_on_client.rb:11
  6. And Package "milkyway-dummy-2.0-1.1" is reported as locked
    features/step_definitions/lock_packages_on_client.rb:11
  7. When I check "orion-dummy-1.1-1.1" in the list
    features/step_definitions/content_steps.rb:264
  8. And I click on "Lock"
    features/step_definitions/navigation_steps.rb:50
  9. Then I should see a "Packages has been requested for being locked." text
    features/step_definitions/content_steps.rb:20
  10. When I follow "Lock"
    features/step_definitions/navigation_steps.rb:61
  11. Then Package "hoag-dummy-1.1-2.1" is reported as locked
    features/step_definitions/lock_packages_on_client.rb:11
  12. And Package "milkyway-dummy-2.0-1.1" is reported as locked
    features/step_definitions/lock_packages_on_client.rb:11
  13. And Package "orion-dummy-1.1-1.1" is reported as pending to be locked
    features/step_definitions/lock_packages_on_client.rb:43
  14. When I check "milkyway-dummy-2.0-1.1" in the list
    features/step_definitions/content_steps.rb:264
  15. And I uncheck "hoag-dummy-1.1-2.1" in the list
    features/step_definitions/content_steps.rb:277
  16. And I click on "Unlock"
    features/step_definitions/navigation_steps.rb:50
  17. Then I should see a "Packages has been requested for being unlocked." text
    features/step_definitions/content_steps.rb:20
  18. When I follow "Lock"
    features/step_definitions/navigation_steps.rb:61
  19. Then Package "hoag-dummy-1.1-2.1" is reported as locked
    features/step_definitions/lock_packages_on_client.rb:11
  20. And Package "milkyway-dummy-2.0-1.1" is reported as pending to be unlocked
    features/step_definitions/lock_packages_on_client.rb:51
  21. And Package "orion-dummy-1.1-1.1" is reported as pending to be locked
    features/step_definitions/lock_packages_on_client.rb:43
  22. When I run rhn_check on this client
    features/step_definitions/common_steps.rb:8
  23. Then "hoag-dummy-1.1-2.1" is locked on this client
    features/step_definitions/lock_packages_on_client.rb:4
  24. And "milkyway-dummy-2.0-1.1" is unlocked on this client
    features/step_definitions/lock_packages_on_client.rb:18
  25. And "orion-dummy-1.1-1.1" is locked on this client
    features/step_definitions/lock_packages_on_client.rb:4
  26. When I follow "Lock"
    features/step_definitions/navigation_steps.rb:61
  27. Then Package "hoag-dummy-1.1-2.1" is reported as locked
    features/step_definitions/lock_packages_on_client.rb:11
  28. And Package "milkyway-dummy-2.0-1.1" is reported as unlocked
    features/step_definitions/lock_packages_on_client.rb:25
  29. And Package "orion-dummy-1.1-1.1" is reported as locked
    features/step_definitions/lock_packages_on_client.rb:11
features/lock_packages_on_client.feature:108

Scenario: Mix package locks and unlock events

  1. Given I am on the Systems overview page of this client
    features/step_definitions/register_client_steps.rb:11
  2. This scenario ran at: 2016-10-25 12:38:02 +0000
  3. And I follow "Software" in the content area
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "Lock"
    features/step_definitions/navigation_steps.rb:61
  5. When I select all the packages
    features/step_definitions/lock_packages_on_client.rb:91
  6. And I click on "Unlock"
    features/step_definitions/navigation_steps.rb:50
  7. Then I should see a "Packages has been requested for being unlocked." text
    features/step_definitions/content_steps.rb:20
  8. When I follow "Lock"
    features/step_definitions/navigation_steps.rb:61
  9. Then Only packages "hoag-dummy-1.1-2.1, orion-dummy-1.1-1.1" are reported as pending to be unlocked
    features/step_definitions/lock_packages_on_client.rb:70
  10. When I run rhn_check on this client
    features/step_definitions/common_steps.rb:8
  11. And I follow "Lock"
    features/step_definitions/navigation_steps.rb:61
  12. Then Package "hoag-dummy-1.1-2.1" is reported as unlocked
    features/step_definitions/lock_packages_on_client.rb:25
  13. And Package "orion-dummy-1.1-1.1" is reported as unlocked
    features/step_definitions/lock_packages_on_client.rb:25
# Copyright (c) 2015 SUSE LLC
# Licensed under the terms of the MIT license.

Feature: Install a package to the client

features/install_package.feature:6

Scenario: Install a package to the client

  1. Given I am on the Systems overview page of this client
    features/step_definitions/register_client_steps.rb:11
  2. This scenario ran at: 2016-10-25 12:38:05 +0000
  3. And metadata generation finished for "sles11-sp3-updates-x86_64-channel"
    features/step_definitions/channels_steps.rb:23
  4. And I follow "Software" in the content area
    features/step_definitions/navigation_steps.rb:116
  5. And I follow "Install"
    features/step_definitions/navigation_steps.rb:61
  6. When I check "hoag-dummy-1.1-2.1" in the list
    features/step_definitions/content_steps.rb:264
  7. And I click on "Install Selected Packages"
    features/step_definitions/navigation_steps.rb:50
  8. And I click on "Confirm"
    features/step_definitions/navigation_steps.rb:50
  9. And I run rhn_check on this client
    features/step_definitions/common_steps.rb:8
  10. Then I should see a "1 package install has been scheduled for" text
    features/step_definitions/content_steps.rb:20
  11. And "hoag-dummy-1.1-2.1" is installed on "client"
    features/step_definitions/content_steps.rb:247
# Copyright (c) 2015 SUSE LLC
# Licensed under the terms of the MIT license.

Feature: Install an erratum to the client

features/install_errata-npn.feature:6

Scenario: Install an erratum to the client

  1. Given I am on the Systems overview page of this client
    features/step_definitions/register_client_steps.rb:11
  2. This scenario ran at: 2016-10-25 12:40:19 +0000
  3. And I follow "Software" in the content area
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "Errata" in the content area
    features/step_definitions/navigation_steps.rb:116
  5. When I check "virgo-dummy-3456" in the list
    features/step_definitions/content_steps.rb:264
  6. And I click on "Apply Errata"
    features/step_definitions/navigation_steps.rb:50
  7. And I click on "Confirm"
    features/step_definitions/navigation_steps.rb:50
  8. And I run rhn_check on this client
    features/step_definitions/common_steps.rb:8
  9. Then I should see a "1 errata update has been scheduled for" text
    features/step_definitions/content_steps.rb:20
  10. And "virgo-dummy-2.0-1.1" is installed on "client"
    features/step_definitions/content_steps.rb:247
# COPYRIGHT (c) 2015 SUSE LLC
# License under the terms of the MIT License.

Feature: Clone a Channel

In Order to validate the channel cloning feature
As a testing user
I want to clone a channel with errata, without errata and with selected erratas

features/clone_channel-npn.feature:9

Scenario: Clone a Channel without errata

  1. Given I am on the manage software channels page
    features/step_definitions/channels_steps.rb:15
  2. This scenario ran at: 2016-10-25 12:40:23 +0000
  3. When I follow "Clone Channel"
    features/step_definitions/navigation_steps.rb:61
  4. And I select "SLES11-SP3-Updates x86_64 Channel" as the origin channel
    features/step_definitions/clone_channel_steps.rb:2
  5. And I choose "original"
    features/step_definitions/navigation_steps.rb:30
  6. And I click on "Clone Channel"
    features/step_definitions/navigation_steps.rb:50
  7. And I should see a "Create Software Channel" text
    features/step_definitions/content_steps.rb:20
  8. And I should see a "Original state of the channel" text
    features/step_definitions/content_steps.rb:20
  9. And I click on "Clone Channel"
    features/step_definitions/navigation_steps.rb:50
  10. Then I should see a "Clone of SLES11-SP3-Updates x86_64 Channel" text
    features/step_definitions/content_steps.rb:20
features/clone_channel-npn.feature:20

Scenario: Check, that this channel has no erratas

  1. Given I am on the manage software channels page
    features/step_definitions/channels_steps.rb:15
  2. This scenario ran at: 2016-10-25 12:40:25 +0000
  3. And I follow "Clone of SLES11-SP3-Updates x86_64 Channel"
    features/step_definitions/navigation_steps.rb:61
  4. When I follow "Errata" in the content area
    features/step_definitions/navigation_steps.rb:116
  5. And I follow "List/Remove Errata"
    features/step_definitions/navigation_steps.rb:61
  6. Then I should see a "There are no errata associated with this channel." text
    features/step_definitions/content_steps.rb:20
features/clone_channel-npn.feature:27

Scenario: Clone a Channel with errata

  1. Given I am on the manage software channels page
    features/step_definitions/channels_steps.rb:15
  2. This scenario ran at: 2016-10-25 12:40:27 +0000
  3. When I follow "Clone Channel"
    features/step_definitions/navigation_steps.rb:61
  4. And I select "SLES11-SP3-Updates x86_64 Channel" as the origin channel
    features/step_definitions/clone_channel_steps.rb:2
  5. And I choose "current"
    features/step_definitions/navigation_steps.rb:30
  6. And I click on "Clone Channel"
    features/step_definitions/navigation_steps.rb:50
  7. And I should see a "Create Software Channel" text
    features/step_definitions/content_steps.rb:20
  8. And I should see a "Current state of the channel" text
    features/step_definitions/content_steps.rb:20
  9. And I click on "Clone Channel"
    features/step_definitions/navigation_steps.rb:50
  10. Then I should see a "Clone 2 of SLES11-SP3-Updates x86_64 Channel" text
    features/step_definitions/content_steps.rb:20
features/clone_channel-npn.feature:38

Scenario: Check, that this channel has erratas

  1. Given I am on the manage software channels page
    features/step_definitions/channels_steps.rb:15
  2. This scenario ran at: 2016-10-25 12:40:28 +0000
  3. And I follow "Clone 2 of SLES11-SP3-Updates x86_64 Channel"
    features/step_definitions/navigation_steps.rb:61
  4. When I follow "Errata" in the content area
    features/step_definitions/navigation_steps.rb:116
  5. And I follow "List/Remove Errata"
    features/step_definitions/navigation_steps.rb:61
  6. Then I should see a "CL-hoag-dummy-7890" link
    features/step_definitions/content_steps.rb:62
  7. And I should see a "CL-virgo-dummy-3456" link
    features/step_definitions/content_steps.rb:62
  8. And I should see a "CL-milkyway-dummy-2345" link
    features/step_definitions/content_steps.rb:62
  9. And I should see a "CL-andromeda-dummy-6789" link
    features/step_definitions/content_steps.rb:62
features/clone_channel-npn.feature:48

Scenario: Clone a Channel with selected errata

  1. Given I am on the manage software channels page
    features/step_definitions/channels_steps.rb:15
  2. This scenario ran at: 2016-10-25 12:40:29 +0000
  3. When I follow "Clone Channel"
    features/step_definitions/navigation_steps.rb:61
  4. And I select "SLES11-SP3-Updates x86_64 Channel" as the origin channel
    features/step_definitions/clone_channel_steps.rb:2
  5. And I choose "select"
    features/step_definitions/navigation_steps.rb:30
  6. And I click on "Clone Channel"
    features/step_definitions/navigation_steps.rb:50
  7. And I should see a "Create Software Channel" text
    features/step_definitions/content_steps.rb:20
  8. And I should see a "Select errata" text
    features/step_definitions/content_steps.rb:20
  9. And I click on "Clone Channel"
    features/step_definitions/navigation_steps.rb:50
  10. And I should see a "Clone 3 of SLES11-SP3-Updates x86_64 Channel" text
    features/step_definitions/content_steps.rb:20
  11. And I should see a "Channel Clone 3 of SLES11-SP3-Updates x86_64 Channel cloned from channel SLES11-SP3-Updates x86_64 Channel." text
    features/step_definitions/content_steps.rb:20
  12. And I should see a "You may now wish to clone the errata associated with SLES11-SP3-Updates x86_64 Channel." text
    features/step_definitions/content_steps.rb:20
  13. And I check the row with the "hoag-dummy-7890" link
    features/step_definitions/content_steps.rb:182
  14. And I check the row with the "virgo-dummy-3456" link
    features/step_definitions/content_steps.rb:182
  15. And I click on "Clone Errata"
    features/step_definitions/navigation_steps.rb:50
  16. And I click on "Confirm"
    features/step_definitions/navigation_steps.rb:50
  17. Then I should see a "CL-hoag-dummy-7890" link
    features/step_definitions/content_steps.rb:62
  18. And I should see a "CL-virgo-dummy-3456" link
    features/step_definitions/content_steps.rb:62
features/clone_channel-npn.feature:67

Scenario: check new errata exists

  1. Given I am on the errata page
    features/step_definitions/errata_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:40:32 +0000
  3. When I follow "All" in the left menu
    features/step_definitions/navigation_steps.rb:116
  4. And I select "500" from "1154021400_PAGE_SIZE_LABEL"
    features/step_definitions/navigation_steps.rb:26
  5. Then I should see a "CL-hoag-dummy-7890" link
    features/step_definitions/content_steps.rb:62
  6. And I should see a "CL-virgo-dummy-3456" link
    features/step_definitions/content_steps.rb:62
  7. And I should see a "CL-milkyway-dummy-2345" link
    features/step_definitions/content_steps.rb:62
  8. And I should see a "CL-andromeda-dummy-6789" link
    features/step_definitions/content_steps.rb:62
features/clone_channel-npn.feature:76

Scenario: check CL-hoag-dummy-7890 errata

  1. Given I am on the errata page
    features/step_definitions/errata_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:40:32 +0000
  3. When I follow "All" in the left menu
    features/step_definitions/navigation_steps.rb:116
  4. And I select "500" from "1154021400_PAGE_SIZE_LABEL"
    features/step_definitions/navigation_steps.rb:26
  5. And I follow "CL-hoag-dummy-7890"
    features/step_definitions/navigation_steps.rb:61
  6. Then I should see a "CL-hoag-dummy-7890 - Security Advisory" text
    features/step_definitions/content_steps.rb:20
  7. And I should see a "mcalmer" text
    features/step_definitions/content_steps.rb:20
  8. And I should see a "https://bugzilla.suse.com/show_bug.cgi?id=704608" link
    features/step_definitions/content_steps.rb:62
features/clone_channel-npn.feature:85

Scenario: check CM-virgo-dummy-3456 errata

  1. Given I am on the errata page
    features/step_definitions/errata_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:40:33 +0000
  3. When I follow "All" in the left menu
    features/step_definitions/navigation_steps.rb:116
  4. And I select "500" from "1154021400_PAGE_SIZE_LABEL"
    features/step_definitions/navigation_steps.rb:26
  5. And I follow "CL-virgo-dummy-3456"
    features/step_definitions/navigation_steps.rb:61
  6. Then I should see a "CL-virgo-dummy-3456 - Bug Fix Advisory" text
    features/step_definitions/content_steps.rb:20
  7. And I should see a "mcalmer" text
    features/step_definitions/content_steps.rb:20
  8. And I should see a "CVE-1999-9998" link
    features/step_definitions/content_steps.rb:62
# Copyright (c) 2015 SUSE LLC
# Licensed under the terms of the MIT license.

Feature: Use the openSCAP audit feature in SUSE Manager

features/openscap_audit.feature:6

Scenario: Schedule an audit job

  1. Given I am on the Systems overview page of this client
    features/step_definitions/register_client_steps.rb:11
  2. This scenario ran at: 2016-10-25 12:40:34 +0000
  3. And I follow "Audit" in the content area
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "Schedule" in the content area
    features/step_definitions/navigation_steps.rb:116
  5. When I enter "--profile RHEL6-Default" as "params"
    features/step_definitions/navigation_steps.rb:37
  6. And I enter "/usr/share/openscap/scap-rhel6-xccdf.xml" as "path"
    features/step_definitions/navigation_steps.rb:37
  7. And I click on "Schedule"
    features/step_definitions/navigation_steps.rb:50
  8. And I run rhn_check on this client
    features/step_definitions/common_steps.rb:8
  9. Then I should see a "XCCDF scan has been scheduled" text
    features/step_definitions/content_steps.rb:20
features/openscap_audit.feature:16

Scenario: Check results of the audit job

  1. Given I am on the Systems overview page of this client
    features/step_definitions/register_client_steps.rb:11
  2. This scenario ran at: 2016-10-25 12:40:39 +0000
  3. And I follow "Audit" in the content area
    features/step_definitions/navigation_steps.rb:116
  4. When I follow "xccdf_org.open-scap_testresult_RHEL6-Default"
    features/step_definitions/navigation_steps.rb:61
  5. Then I should see a "Details of XCCDF Scan" text
    features/step_definitions/content_steps.rb:20
  6. And I should see a "RHEL6-Default" text
    features/step_definitions/content_steps.rb:20
  7. And I should see a "XCCDF Rule Results" text
    features/step_definitions/content_steps.rb:20
  8. And I should see a "CCE-" text
    features/step_definitions/content_steps.rb:20
  9. And I should see a "rule-" link
    features/step_definitions/content_steps.rb:62
features/openscap_audit.feature:26

Scenario: Schedule an audit job using the suse profile

  1. Given I am on the Systems overview page of this client
    features/step_definitions/register_client_steps.rb:11
  2. This scenario ran at: 2016-10-25 12:40:40 +0000
  3. And I follow "Audit" in the content area
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "Schedule" in the content area
    features/step_definitions/navigation_steps.rb:116
  5. When I enter "--profile Default" as "params"
    features/step_definitions/navigation_steps.rb:37
  6. And I enter "/usr/share/openscap/scap-yast2sec-xccdf.xml" as "path"
    features/step_definitions/navigation_steps.rb:37
  7. And I click on "Schedule"
    features/step_definitions/navigation_steps.rb:50
  8. And I run rhn_check on this client
    features/step_definitions/common_steps.rb:8
  9. Then I should see a "XCCDF scan has been scheduled" text
    features/step_definitions/content_steps.rb:20
features/openscap_audit.feature:36

Scenario: Check results of the audit job

  1. Given I am on the Systems overview page of this client
    features/step_definitions/register_client_steps.rb:11
  2. This scenario ran at: 2016-10-25 12:40:43 +0000
  3. And I follow "Audit" in the content area
    features/step_definitions/navigation_steps.rb:116
  4. When I follow "xccdf_org.open-scap_testresult_Default"
    features/step_definitions/navigation_steps.rb:61
  5. Then I should see a "Details of XCCDF Scan" text
    features/step_definitions/content_steps.rb:20
  6. And I should see a "Default" text
    features/step_definitions/content_steps.rb:20
  7. And I should see a "XCCDF Rule Results" text
    features/step_definitions/content_steps.rb:20
  8. And I should see a "pass" text
    features/step_definitions/content_steps.rb:20
  9. And I should see a "rule-" link
    features/step_definitions/content_steps.rb:62
# Copyright (c) 2015 SUSE LLC
# Licensed under the terms of the MIT license.

Feature: mgr-sync channel listing and enablement

In Order to validate correct working of mgr-sync
As user root
I want to be able to list available channels and enable them

features/scc-sync-channels.feature:9

Scenario: list available channels

  1. When I execute mgr-sync "list channels -e" with user "admin" and password "admin"
    features/step_definitions/command_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:40:44 +0000
  3. Then I want to get "[ ] SLES11-SP1-Pool for x86_64 SUSE Linux Enterprise Server 11 SP1 x86_64 [sles11-sp1-pool-x86_64]"
    features/step_definitions/command_steps.rb:125
    '[ ] SLES11-SP1-Pool for x86_64 SUSE Linux Enterprise Server 11 SP1 x86_64 [sles11-sp1-pool-x86_64]' not found in output 'Please enter the credentials of SUSE Manager Administrator.
    Login: Available Channels (full):
    
    
    Status:
      - [I] - channel is installed
      - [ ] - channel is not installed, but is available
      - [U] - channel is unavailable
    
    [ ] RHEL i386 Server 5 RES 5 [rhel-i386-server-5]
    [ ] RHEL i386 Server 6 Red Hat Expanded Support for RHEL 6 [rhel-i386-server-6]
    [ ] RHEL x86_64 Server 5 RES 5 [rhel-x86_64-server-5]
    [ ] RHEL x86_64 Server 6 Red Hat Expanded Support for RHEL 6 [rhel-x86_64-server-6]
    [ ] RHEL x86_64 Server 7 Red Hat Expanded Support for RHEL 7 [rhel-x86_64-server-7]
    '
    ./features/step_definitions/command_steps.rb:134:in `/^I want to get "([^"]*)"$/'
    features/scc-sync-channels.feature:11:in `Then I want to get "[ ] SLES11-SP1-Pool for x86_64 SUSE Linux Enterprise Server 11 SP1 x86_64 [sles11-sp1-pool-x86_64]"'
    132  end
    133  unless found
    134    raise "'#{arg1}' not found in output '#{$command_output}'"
    135  end
    136end
    137# gem install syntax to get syntax highlighting
  4. And I want to get " [ ] SLE11-SDK-SP1-Updates for x86_64 SUSE Linux Enterprise Software Development Kit 11 SP1 [sle11-sdk-sp1-updates-x86_64]"
    features/step_definitions/command_steps.rb:125
Screenshot
 
features/scc-sync-channels.feature:14

Scenario: list available mandatory channels

  1. When I execute mgr-sync "list channels -e --no-optional"
    features/step_definitions/command_steps.rb:8
  2. This scenario ran at: 2016-10-25 12:40:46 +0000
  3. Then I want to get "[ ] SLES11-SP1-Pool for x86_64 SUSE Linux Enterprise Server 11 SP1 x86_64 [sles11-sp1-pool-x86_64]"
    features/step_definitions/command_steps.rb:125
    '[ ] SLES11-SP1-Pool for x86_64 SUSE Linux Enterprise Server 11 SP1 x86_64 [sles11-sp1-pool-x86_64]' not found in output 'Available Channels (full):
    
    
    Status:
      - [I] - channel is installed
      - [ ] - channel is not installed, but is available
      - [U] - channel is unavailable
    
    [ ] RHEL i386 Server 5 RES 5 [rhel-i386-server-5]
    [ ] RHEL i386 Server 6 Red Hat Expanded Support for RHEL 6 [rhel-i386-server-6]
    [ ] RHEL x86_64 Server 5 RES 5 [rhel-x86_64-server-5]
    [ ] RHEL x86_64 Server 6 Red Hat Expanded Support for RHEL 6 [rhel-x86_64-server-6]
    [ ] RHEL x86_64 Server 7 Red Hat Expanded Support for RHEL 7 [rhel-x86_64-server-7]
    '
    ./features/step_definitions/command_steps.rb:134:in `/^I want to get "([^"]*)"$/'
    features/scc-sync-channels.feature:16:in `Then I want to get "[ ] SLES11-SP1-Pool for x86_64 SUSE Linux Enterprise Server 11 SP1 x86_64 [sles11-sp1-pool-x86_64]"'
    132  end
    133  unless found
    134    raise "'#{arg1}' not found in output '#{$command_output}'"
    135  end
    136end
    137# gem install syntax to get syntax highlighting
  4. And I want to get " [ ] SLE11-SDK-SP1-Updates for x86_64 SUSE Linux Enterprise Software Development Kit 11 SP1 [sle11-sdk-sp1-updates-x86_64]"
    features/step_definitions/command_steps.rb:125
  5. And I wont get "debuginfo"
    features/step_definitions/command_steps.rb:138
  6. And I wont get "sles11-extras"
    features/step_definitions/command_steps.rb:138
Screenshot
 
features/scc-sync-channels.feature:21

Scenario: list products

  1. When I execute mgr-sync "list products"
    features/step_definitions/command_steps.rb:8
  2. This scenario ran at: 2016-10-25 12:40:47 +0000
  3. Then I want to get "[ ] SUSE Linux Enterprise Server 12 (x86_64)"
    features/step_definitions/command_steps.rb:125
    '[ ] SUSE Linux Enterprise Server 12 (x86_64)' not found in output 'No products found.
    '
    ./features/step_definitions/command_steps.rb:134:in `/^I want to get "([^"]*)"$/'
    features/scc-sync-channels.feature:23:in `Then I want to get "[ ] SUSE Linux Enterprise Server 12 (x86_64)"'
    132  end
    133  unless found
    134    raise "'#{arg1}' not found in output '#{$command_output}'"
    135  end
    136end
    137# gem install syntax to get syntax highlighting
  4. And I want to get "[ ] SUSE Manager Proxy 2.1 (x86_64)"
    features/step_definitions/command_steps.rb:125
Screenshot
 
features/scc-sync-channels.feature:26

Scenario: list all products

  1. When I execute mgr-sync "list products --expand"
    features/step_definitions/command_steps.rb:8
  2. This scenario ran at: 2016-10-25 12:40:48 +0000
  3. Then I want to get "[ ] SUSE Linux Enterprise Server 12 (x86_64)"
    features/step_definitions/command_steps.rb:125
    '[ ] SUSE Linux Enterprise Server 12 (x86_64)' not found in output 'No products found.
    '
    ./features/step_definitions/command_steps.rb:134:in `/^I want to get "([^"]*)"$/'
    features/scc-sync-channels.feature:28:in `Then I want to get "[ ] SUSE Linux Enterprise Server 12 (x86_64)"'
    132  end
    133  unless found
    134    raise "'#{arg1}' not found in output '#{$command_output}'"
    135  end
    136end
    137# gem install syntax to get syntax highlighting
  4. And I want to get "[ ] SUSE Manager Proxy 2.1 (x86_64)"
    features/step_definitions/command_steps.rb:125
  5. And I want to get " [ ] SUSE Cloud 4 (x86_64)"
    features/step_definitions/command_steps.rb:125
  6. And I want to get " [ ] SUSE Linux Enterprise High Availability Extension 12 (x86_64)"
    features/step_definitions/command_steps.rb:125
Screenshot
 
features/scc-sync-channels.feature:33

Scenario: list products with filter

  1. When I execute mgr-sync "list products --expand --filter x86_64"
    features/step_definitions/command_steps.rb:8
  2. This scenario ran at: 2016-10-25 12:40:49 +0000
  3. Then I want to get "[ ] SUSE Linux Enterprise Server for SAP All-in-One 11 SP3 (x86_64)"
    features/step_definitions/command_steps.rb:125
    '[ ] SUSE Linux Enterprise Server for SAP All-in-One 11 SP3 (x86_64)' not found in output 'No products found.
    '
    ./features/step_definitions/command_steps.rb:134:in `/^I want to get "([^"]*)"$/'
    features/scc-sync-channels.feature:35:in `Then I want to get "[ ] SUSE Linux Enterprise Server for SAP All-in-One 11 SP3 (x86_64)"'
    132  end
    133  unless found
    134    raise "'#{arg1}' not found in output '#{$command_output}'"
    135  end
    136end
    137# gem install syntax to get syntax highlighting
  4. And I wont get "ppc64"
    features/step_definitions/command_steps.rb:138
  5. And I wont get "s390x"
    features/step_definitions/command_steps.rb:138
Screenshot
 
features/scc-sync-channels.feature:39

Scenario: enable sles11-sp3-pool-x86_64

  1. When I execute mgr-sync "add channel sles11-sp3-pool-x86_64"
    features/step_definitions/command_steps.rb:8
    Execute command failed mgr-sync add channel sles11-sp3-pool-x86_64: General error: <Fault -1: 'redstone.xmlrpc.XmlRpcFault: unhandled internal exception: Channel is unknown: sles11-sp3-pool-x86_64'>
    
    ./features/support/ssh.rb:20:in `sshcmd'
    ./features/step_definitions/command_steps.rb:9:in `/^I execute mgr\-sync "([^"]*)"$/'
    features/scc-sync-channels.feature:40:in `When I execute mgr-sync "add channel sles11-sp3-pool-x86_64"'
    18
    19  if !errstring.empty? && !ignore_err
    20    raise "Execute command failed #{command}: #{err.string}"
    21  end
    22
    23# gem install syntax to get syntax highlighting
  2. This scenario ran at: 2016-10-25 12:40:50 +0000
  3. And I execute mgr-sync "list channels"
    features/step_definitions/command_steps.rb:8
  4. Then I want to get "[I] SLES11-SP3-Pool for x86_64 SUSE Linux Enterprise Server 11 SP3 x86_64 [sles11-sp3-pool-x86_64]"
    features/step_definitions/command_steps.rb:125
  5. And I want to get " [ ] SLES11-SP3-Updates for x86_64 SUSE Linux Enterprise Server 11 SP3 x86_64 [sles11-sp3-updates-x86_64]"
    features/step_definitions/command_steps.rb:125
Screenshot
 
features/scc-sync-channels.feature:45

Scenario: enable sles11-sp3-updates-x86_64

  1. When I execute mgr-sync "add channel sles11-sp3-updates-x86_64"
    features/step_definitions/command_steps.rb:8
    Execute command failed mgr-sync add channel sles11-sp3-updates-x86_64: General error: <Fault -1: 'redstone.xmlrpc.XmlRpcFault: unhandled internal exception: Channel is unknown: sles11-sp3-updates-x86_64'>
    
    ./features/support/ssh.rb:20:in `sshcmd'
    ./features/step_definitions/command_steps.rb:9:in `/^I execute mgr\-sync "([^"]*)"$/'
    features/scc-sync-channels.feature:46:in `When I execute mgr-sync "add channel sles11-sp3-updates-x86_64"'
    18
    19  if !errstring.empty? && !ignore_err
    20    raise "Execute command failed #{command}: #{err.string}"
    21  end
    22
    23# gem install syntax to get syntax highlighting
  2. This scenario ran at: 2016-10-25 12:40:52 +0000
  3. And I execute mgr-sync "list channels"
    features/step_definitions/command_steps.rb:8
  4. Then I want to get "[I] SLES11-SP3-Pool for x86_64 SUSE Linux Enterprise Server 11 SP3 x86_64 [sles11-sp3-pool-x86_64]"
    features/step_definitions/command_steps.rb:125
  5. And I want to get " [I] SLES11-SP3-Updates for x86_64 SUSE Linux Enterprise Server 11 SP3 x86_64 [sles11-sp3-updates-x86_64]"
    features/step_definitions/command_steps.rb:125
Screenshot
 
features/scc-sync-channels.feature:51

Scenario: let mgr-sync time out

  1. When I remove the mgr-sync cache file
    features/step_definitions/command_steps.rb:12
  2. This scenario ran at: 2016-10-25 12:40:54 +0000
  3. And I execute mgr-sync refresh
    features/step_definitions/command_steps.rb:16
  4. Then I want to get "Timeout. No user input for 60 seconds. Exiting..."
    features/step_definitions/command_steps.rb:125
# Copyright (c) 2015 SUSE LLC
# Licensed under the terms of the MIT license.

Feature: Explore the main landing page

In Order to validate completeness of the systems page
As a authorized user
I want to see all the texts and links

features/systemspage2.feature:9

Scenario: Completeness of the System Overview table

  1. Given I am authorized
    features/step_definitions/log_in_out_steps.rb:12
  2. This scenario ran at: 2016-10-25 12:41:54 +0000
  3. When I follow "Systems"
    features/step_definitions/navigation_steps.rb:61
  4. Then The table should have a column named "System"
    features/step_definitions/content_steps.rb:291
  5. And The table should have a column named "Updates"
    features/step_definitions/content_steps.rb:291
  6. And The table should have a column named "Patches"
    features/step_definitions/content_steps.rb:291
  7. And The table should have a column named "Packages"
    features/step_definitions/content_steps.rb:291
  8. And The table should have a column named "Configs"
    features/step_definitions/content_steps.rb:291
  9. And The table should have a column named "Base Channel"
    features/step_definitions/content_steps.rb:291
  10. And The table should have a column named "System Type"
    features/step_definitions/content_steps.rb:291
features/systemspage2.feature:20

Scenario: Completeness of the All Systems table

  1. Given I am on the Systems page
    features/step_definitions/systemspage_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:41:55 +0000
  3. When I follow "Systems" in the left menu
    features/step_definitions/navigation_steps.rb:116
  4. Then The table should have a column named "System"
    features/step_definitions/content_steps.rb:291
  5. And The table should have a column named "Updates"
    features/step_definitions/content_steps.rb:291
  6. And The table should have a column named "Patches"
    features/step_definitions/content_steps.rb:291
  7. And The table should have a column named "Packages"
    features/step_definitions/content_steps.rb:291
  8. And The table should have a column named "Configs"
    features/step_definitions/content_steps.rb:291
  9. And The table should have a column named "Base Channel"
    features/step_definitions/content_steps.rb:291
  10. And The table should have a column named "System Type"
    features/step_definitions/content_steps.rb:291
features/systemspage2.feature:31

Scenario: Completeness of the Virtual System table

  1. Given I am on the Systems page
    features/step_definitions/systemspage_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:41:56 +0000
  3. When I follow "Systems" in the left menu
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "Virtual Systems" in the left menu
    features/step_definitions/navigation_steps.rb:116
  5. Then The table should have a column named "System"
    features/step_definitions/content_steps.rb:291
  6. And The table should have a column named "Updates"
    features/step_definitions/content_steps.rb:291
  7. And The table should have a column named "Status"
    features/step_definitions/content_steps.rb:291
  8. And The table should have a column named "Base Software Channel"
    features/step_definitions/content_steps.rb:291
features/systemspage2.feature:40

Scenario: Completeness of the Out-of-Date System table

  1. Given I am on the Systems page
    features/step_definitions/systemspage_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:41:57 +0000
  3. When I follow "Systems" in the left menu
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "Out of Date" in the left menu
    features/step_definitions/navigation_steps.rb:116
  5. Then The table should have a column named "System"
    features/step_definitions/content_steps.rb:291
  6. And The table should have a column named "Updates"
    features/step_definitions/content_steps.rb:291
  7. And The table should have a column named "Patches"
    features/step_definitions/content_steps.rb:291
  8. And The table should have a column named "Packages"
    features/step_definitions/content_steps.rb:291
  9. And The table should have a column named "Configs"
    features/step_definitions/content_steps.rb:291
  10. And The table should have a column named "Base Channel"
    features/step_definitions/content_steps.rb:291
  11. And The table should have a column named "System Type"
    features/step_definitions/content_steps.rb:291
features/systemspage2.feature:52

Scenario: Completeness of the Requiring Reeboot System table

  1. Given I am on the Systems page
    features/step_definitions/systemspage_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:41:57 +0000
  3. When I follow "Systems" in the left menu
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "Requiring Reboot" in the left menu
    features/step_definitions/navigation_steps.rb:116
  5. Then The table should have a column named "System"
    features/step_definitions/content_steps.rb:291
  6. And The table should have a column named "Updates"
    features/step_definitions/content_steps.rb:291
  7. And The table should have a column named "Patches"
    features/step_definitions/content_steps.rb:291
  8. And The table should have a column named "Packages"
    features/step_definitions/content_steps.rb:291
  9. And The table should have a column named "Configs"
    features/step_definitions/content_steps.rb:291
  10. And The table should have a column named "Base Channel"
    features/step_definitions/content_steps.rb:291
  11. And The table should have a column named "System Type"
    features/step_definitions/content_steps.rb:291
features/systemspage2.feature:64

Scenario: Completeness of the Non Compliant System table

  1. Given I am on the Systems page
    features/step_definitions/systemspage_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:41:58 +0000
  3. When I follow "Systems" in the left menu
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "Non Compliant" in the left menu
    features/step_definitions/navigation_steps.rb:116
  5. Then The table should have a column named "System"
    features/step_definitions/content_steps.rb:291
  6. And The table should have a column named "Packages"
    features/step_definitions/content_steps.rb:291
  7. And The table should have a column named "Base Channel"
    features/step_definitions/content_steps.rb:291
  8. And I should see this client as link
    features/step_definitions/register_client_steps.rb:62
features/systemspage2.feature:73

Scenario: Completeness of the Without System Type table

  1. Given I am on the Systems page
    features/step_definitions/systemspage_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:41:59 +0000
  3. When I follow "Systems" in the left menu
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "Without System Type" in the left menu
    features/step_definitions/navigation_steps.rb:116
  5. Then The table should have a column named "System"
    features/step_definitions/content_steps.rb:291
  6. And The table should have a column named "Updates"
    features/step_definitions/content_steps.rb:291
  7. And The table should have a column named "Patches"
    features/step_definitions/content_steps.rb:291
  8. And The table should have a column named "Packages"
    features/step_definitions/content_steps.rb:291
  9. And The table should have a column named "Configs"
    features/step_definitions/content_steps.rb:291
  10. And The table should have a column named "Base Channel"
    features/step_definitions/content_steps.rb:291
  11. And The table should have a column named "System Type"
    features/step_definitions/content_steps.rb:291
features/systemspage2.feature:85

Scenario: Completeness of the Ungrouped System table

  1. Given I am on the Systems page
    features/step_definitions/systemspage_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:42:00 +0000
  3. When I follow "Systems" in the left menu
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "Ungrouped" in the left menu
    features/step_definitions/navigation_steps.rb:116
  5. Then The table should have a column named "System"
    features/step_definitions/content_steps.rb:291
  6. And The table should have a column named "Updates"
    features/step_definitions/content_steps.rb:291
  7. And The table should have a column named "Patches"
    features/step_definitions/content_steps.rb:291
  8. And The table should have a column named "Packages"
    features/step_definitions/content_steps.rb:291
  9. And The table should have a column named "Configs"
    features/step_definitions/content_steps.rb:291
  10. And The table should have a column named "Base Channel"
    features/step_definitions/content_steps.rb:291
  11. And The table should have a column named "System Type"
    features/step_definitions/content_steps.rb:291
features/systemspage2.feature:97

Scenario: Completeness of the Inactive System table

  1. Given I am on the Systems page
    features/step_definitions/systemspage_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:42:01 +0000
  3. When I follow "Systems" in the left menu
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "Inactive" in the left menu
    features/step_definitions/navigation_steps.rb:116
  5. Then The table should have a column named "System"
    features/step_definitions/content_steps.rb:291
  6. And The table should have a column named "Updates"
    features/step_definitions/content_steps.rb:291
  7. And The table should have a column named "Patches"
    features/step_definitions/content_steps.rb:291
  8. And The table should have a column named "Packages"
    features/step_definitions/content_steps.rb:291
  9. And The table should have a column named "Configs"
    features/step_definitions/content_steps.rb:291
  10. And The table should have a column named "Base Channel"
    features/step_definitions/content_steps.rb:291
  11. And The table should have a column named "System Type"
    features/step_definitions/content_steps.rb:291
features/systemspage2.feature:109

Scenario: Completeness of the Recently Registered System table

  1. Given I am on the Systems page
    features/step_definitions/systemspage_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:42:02 +0000
  3. When I follow "Systems" in the left menu
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "Recently Registered" in the left menu
    features/step_definitions/navigation_steps.rb:116
  5. Then The table should have a column named "System"
    features/step_definitions/content_steps.rb:291
  6. And The table should have a column named "Updates"
    features/step_definitions/content_steps.rb:291
  7. And The table should have a column named "Base Channel"
    features/step_definitions/content_steps.rb:291
  8. And The table should have a column named "Date Registered"
    features/step_definitions/content_steps.rb:291
  9. And The table should have a column named "Registered by"
    features/step_definitions/content_steps.rb:291
  10. And The table should have a column named "System Type"
    features/step_definitions/content_steps.rb:291
features/systemspage2.feature:120

Scenario: Completeness of the Proxy System table

  1. Given I am on the Systems page
    features/step_definitions/systemspage_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:42:03 +0000
  3. When I follow "Systems" in the left menu
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "Proxy" in the left menu
    features/step_definitions/navigation_steps.rb:116
    Unable to find link "Proxy" (Capybara::ElementNotFound)
    ./features/step_definitions/navigation_steps.rb:66:in `rescue in block in '
    ./features/step_definitions/navigation_steps.rb:62:in `/^I follow "([^"]*)"$/'
    ./features/step_definitions/navigation_steps.rb:125:in `block (2 levels) in '
    ./features/step_definitions/navigation_steps.rb:124:in `/^I follow "([^"]*)" in the (.+)$/'
    features/systemspage2.feature:123:in `And I follow "Proxy" in the left menu'
    64  rescue
    65    sleep 10
    66    click_link(debrand_string(text))
    67  end
    68end
    69# gem install syntax to get syntax highlighting
  5. Then The table should have a column named "System"
    features/step_definitions/content_steps.rb:291
  6. And The table should have a column named "Updates"
    features/step_definitions/content_steps.rb:291
  7. And The table should have a column named "Patches"
    features/step_definitions/content_steps.rb:291
  8. And The table should have a column named "Packages"
    features/step_definitions/content_steps.rb:291
  9. And The table should have a column named "Configs"
    features/step_definitions/content_steps.rb:291
  10. And The table should have a column named "Base Channel"
    features/step_definitions/content_steps.rb:291
  11. And The table should have a column named "System Type"
    features/step_definitions/content_steps.rb:291
Screenshot
 
features/systemspage2.feature:132

Scenario: Completeness of the Duplicate System table

  1. Given I am on the Systems page
    features/step_definitions/systemspage_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:42:33 +0000
  3. When I follow "Systems" in the left menu
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "Duplicate Systems" in the left menu
    features/step_definitions/navigation_steps.rb:116
  5. Then The table should have a column named "System"
    features/step_definitions/content_steps.rb:291
  6. And The table should have a column named "Last Checked in"
    features/step_definitions/content_steps.rb:291
features/systemspage2.feature:139

Scenario: Completeness of the System currency table

  1. Given I am on the Systems page
    features/step_definitions/systemspage_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:42:34 +0000
  3. When I follow "Systems" in the left menu
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "System Currency" in the left menu
    features/step_definitions/navigation_steps.rb:116
  5. Then The table should have a column named "System"
    features/step_definitions/content_steps.rb:291
  6. And The table should have a column named "Security (Critical)"
    features/step_definitions/content_steps.rb:291
  7. And The table should have a column named "Security (Important)"
    features/step_definitions/content_steps.rb:291
  8. And The table should have a column named "Security (Moderate)"
    features/step_definitions/content_steps.rb:291
  9. And The table should have a column named "Security (Low)"
    features/step_definitions/content_steps.rb:291
  10. And The table should have a column named "Bug Fixes"
    features/step_definitions/content_steps.rb:291
  11. And The table should have a column named "Enhancements"
    features/step_definitions/content_steps.rb:291
  12. And The table should have a column named "Score"
    features/step_definitions/content_steps.rb:291
features/systemspage2.feature:152

Scenario: Check Non Compliant Systems page

  1. Given I am on the Systems overview page of this client
    features/step_definitions/register_client_steps.rb:11
  2. This scenario ran at: 2016-10-25 12:42:35 +0000
  3. When I follow "Software"
    features/step_definitions/navigation_steps.rb:61
  4. And I follow "Non Compliant" in the content area
    features/step_definitions/navigation_steps.rb:116
  5. Then I should see a "Non Compliant" text
    features/step_definitions/content_steps.rb:20
  6. And I should see a "The following packages are installed on this system and are not present in any of its channels." text
    features/step_definitions/content_steps.rb:20
  7. And I should see a "Remove Packages" button
    features/step_definitions/content_steps.rb:80
# Copyright (c) 2015 SUSE LLC
# Licensed under the terms of the MIT license.

Feature: Test XML-RPC "system" namespace.

features/xmlrpc_system.feature:6

Scenario: Check listSystems and sysinfo

  1. Given I am logged in via XML-RPC/system as user "admin" and password "admin"
    features/step_definitions/xmlrpc_system_steps.rb:7
  2. This scenario ran at: 2016-10-25 12:42:37 +0000
  3. When I call system.listSystems(), I should get a list of them.
    features/step_definitions/xmlrpc_system_steps.rb:11
  4. And I check a sysinfo by a number of XML-RPC calls, it just works. :-)
    features/step_definitions/xmlrpc_system_steps.rb:18
  5. Then I logout from XML-RPC/system.
    features/step_definitions/xmlrpc_system_steps.rb:33
features/xmlrpc_system.feature:12

Scenario: create a cobbler system record for a system that is not registered (requires fedora_kickstart_profile)

  1. Given I am logged in via XML-RPC/system as user "admin" and password "admin"
    features/step_definitions/xmlrpc_system_steps.rb:7
  2. This scenario ran at: 2016-10-25 12:42:37 +0000
  3. And cobblerd is running
    features/step_definitions/systemspage_steps.rb:11
  4. When I call system.createSystemRecord() with sysName "mySystem", ksLabel "fedora_kickstart_profile", ip "10.20.30.40", mac "DE:AD:BE:EF:11:22"
    features/step_definitions/xmlrpc_system_steps.rb:23
  5. Then there is a system record in cobbler named "mySystem:1"
    features/step_definitions/xmlrpc_system_steps.rb:27
  6. And I logout from XML-RPC/system.
    features/step_definitions/xmlrpc_system_steps.rb:33
# Copyright (c) 2015 SUSE LLC
# Licensed under the terms of the MIT license.

Feature: Check nagios plugins

In order to check nagios probes for a host
As the root user
I want to check the number of pending patches
I want to check the status of the last action

features/nagios.feature:10

Scenario: Check pending patches for host

  1. Given I perform a nagios check patches
    features/step_definitions/nagios_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:42:37 +0000
  3. Then I should see WARNING: 1 patch pending
    features/step_definitions/nagios_steps.rb:19
features/nagios.feature:14

Scenario: Check pending patches for non-existing host

  1. Given I perform an invalid nagios check patches
    features/step_definitions/nagios_steps.rb:14
  2. This scenario ran at: 2016-10-25 12:42:38 +0000
  3. Then I should see an unknown system message
    features/step_definitions/nagios_steps.rb:29
features/nagios.feature:18

Scenario: Check status of last action

  1. Given I perform a nagios check last event
    features/step_definitions/nagios_steps.rb:9
  2. This scenario ran at: 2016-10-25 12:42:38 +0000
  3. Then I should see Completed: OpenSCAP xccdf scanning scheduled by testing
    features/step_definitions/nagios_steps.rb:24
# COPYRIGHT (c) 2015 SUSE LLC
# Licensed under the terms of the MIT license.

Feature: Explore the main landing page

In Order to avoid systems with different running/installed kernel
As a authorized user
I want to see systems that need a reboot

features/systems_needing_reboot.feature:9

Scenario: Feature should be accessible

  1. Given I am on the Systems page
    features/step_definitions/systemspage_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:42:38 +0000
  3. When I follow "Systems" in the left menu
    features/step_definitions/navigation_steps.rb:116
  4. Then I should see a "All" link in the left menu
    features/step_definitions/content_steps.rb:130
  5. And I should see a "Requiring Reboot" link in the left menu
    features/step_definitions/content_steps.rb:130
features/systems_needing_reboot.feature:15

Scenario: No reboot notice if no need to reboot

  1. Given I am on the Systems overview page of this client
    features/step_definitions/register_client_steps.rb:11
  2. This scenario ran at: 2016-10-25 12:42:39 +0000
  3. Then I should not see a "The system requires a reboot" text
    features/step_definitions/content_steps.rb:55
features/systems_needing_reboot.feature:19

Scenario: Display Reboot Required after installing an Errata

  1. Given I am on the Systems overview page of this client
    features/step_definitions/register_client_steps.rb:11
  2. This scenario ran at: 2016-10-25 12:42:40 +0000
  3. And I follow "Software" in the content area
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "Errata" in the content area
    features/step_definitions/navigation_steps.rb:116
  5. When I check "andromeda-dummy-6789" in the list
    features/step_definitions/content_steps.rb:264
  6. And I click on "Apply Errata"
    features/step_definitions/navigation_steps.rb:50
  7. And I click on "Confirm"
    features/step_definitions/navigation_steps.rb:50
  8. And I run rhn_check on this client
    features/step_definitions/common_steps.rb:8
  9. And I follow "Systems" in the left menu
    features/step_definitions/navigation_steps.rb:116
  10. And I follow this client link
    features/step_definitions/register_client_steps.rb:66
  11. Then I should see a "The system requires a reboot" text
    features/step_definitions/content_steps.rb:20
  12. When I follow "Systems" in the left menu
    features/step_definitions/navigation_steps.rb:116
  13. And I follow "Requiring Reboot" in the left menu
    features/step_definitions/navigation_steps.rb:116
  14. Then I should see this client as link
    features/step_definitions/register_client_steps.rb:62
# Copyright (c) 2015 SUSE LLC
# Licensed under the terms of the MIT license.

Feature: Test single system reboot confirm page

features/test_reboot.feature:6

Scenario: Go to the system reboot confirm page

  1. Given I am on the Systems overview page of this client
    features/step_definitions/register_client_steps.rb:11
  2. This scenario ran at: 2016-10-25 12:42:45 +0000
  3. When I follow first "Schedule System Reboot"
    features/step_definitions/navigation_steps.rb:72
  4. Then I should see a "System Reboot Confirmation" text
    features/step_definitions/content_steps.rb:20
  5. And I should see a "Reboot system" button
    features/step_definitions/content_steps.rb:80
# Copyright (c) 2015 SUSE LLC
# Licensed under the terms of the MIT license.

Feature: Check if new CVE-ID syntax is working with SUSE Manager

In Order to check if the new CVE-ID syntax is working with SUSE Manager
As the testing user
I want to see the erratums in the web page with a long CVE ID

features/CVE-ID-new-syntax.feature:9

Scenario: check perseus-dummy-7891 errata

  1. Given I am on the errata page
    features/step_definitions/errata_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:42:47 +0000
  3. When I follow "All" in the left menu
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "perseus-dummy-7891"
    features/step_definitions/navigation_steps.rb:61
  5. Then I should see a "perseus-dummy-7891 - Security Advisory" text
    features/step_definitions/content_steps.rb:20
  6. And I should see a "CVE-1999-12345" link
    features/step_definitions/content_steps.rb:62
  7. And I should see a "CVE-1999-99781" link
    features/step_definitions/content_steps.rb:62
features/CVE-ID-new-syntax.feature:17

Scenario: Check local metdata for long CVE IDs

  1. Given I am root
    features/step_definitions/register_client_steps.rb:3
  2. This scenario ran at: 2016-10-25 12:42:47 +0000
  3. When I refresh the metadata
    features/step_definitions/weak_deps_steps.rb:4
  4. Then I should have 'reference.*id="CVE-1999-12345' in the patch metadata
    features/step_definitions/weak_deps_steps.rb:29
  5. And I should have 'reference.*id="CVE-1999-99781' in the patch metadata
    features/step_definitions/weak_deps_steps.rb:29
  6. And I should have 'reference.*http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-1999-12345' in the patch metadata
    features/step_definitions/weak_deps_steps.rb:29
  7. And I should have 'reference.*http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-1999-99781' in the patch metadata
    features/step_definitions/weak_deps_steps.rb:29
features/CVE-ID-new-syntax.feature:25

Scenario: Search for CVE ID with the new format

  1. Given I am on the errata page
    features/step_definitions/errata_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:42:50 +0000
  3. And I follow "Advanced Search"
    features/step_definitions/navigation_steps.rb:61
  4. When I enter "CVE-1999-12345" as "search_string" in the content area
    features/step_definitions/navigation_steps.rb:41
  5. And I click on "Search"
    features/step_definitions/navigation_steps.rb:50
  6. Then I should see a "Advanced Search" text
    features/step_definitions/content_steps.rb:20
  7. And I should see a "perseus-dummy-7891" link in the content area
    features/step_definitions/content_steps.rb:130
# COPYRIGHT (c) 2015 SUSE LLC
# Licensed under the terms of the MIT license.

Feature: Pick dates

In order to execute actions at a certain date
As a authorized user
I want to be able to easily pick dates

features/datepicker.feature:9

Scenario: Date picker is by default set to today

  1. Given I am on the Systems overview page of this client
    features/step_definitions/register_client_steps.rb:11
  2. This scenario ran at: 2016-10-25 12:42:51 +0000
  3. And I follow "Remote Command" in the content area
    features/step_definitions/navigation_steps.rb:116
  4. And I open the date picker
    features/step_definitions/datepicker_steps.rb:57
  5. Then the date picker title should be the current month and year
    features/step_definitions/datepicker_steps.rb:65
features/datepicker.feature:15

Scenario: Pick a time should set the right hidden fields

  1. Given I am on the Systems overview page of this client
    features/step_definitions/register_client_steps.rb:11
  2. This scenario ran at: 2016-10-25 12:43:03 +0000
  3. And I follow "Remote Command" in the content area
    features/step_definitions/navigation_steps.rb:116
  4. And I enter "ls" as "Script"
    features/step_definitions/navigation_steps.rb:37
  5. And I pick "2016-08-27" as date
    features/step_definitions/datepicker_steps.rb:5
  6. And I pick "5:30 pm" as time
    features/step_definitions/datepicker_steps.rb:78
  7. Then the date field is set to "2016-08-27"
    features/step_definitions/datepicker_steps.rb:44
  8. And the time field is set to "17:30"
    features/step_definitions/datepicker_steps.rb:85
  9. And the date picker is closed
    features/step_definitions/datepicker_steps.rb:61
# Copyright (c) 2015 SUSE LLC
# Licensed under the terms of the MIT license.

Feature: Delete a system profile

In Order to delete a system profile from spacewalk
As the testing user
I want to delete this client's system profile

features/delete_system_profile.feature:9

Scenario: Delete a system profile

  1. Given I am on the Systems overview page of this client
    features/step_definitions/register_client_steps.rb:11
  2. This scenario ran at: 2016-10-25 12:43:04 +0000
  3. When I follow "Delete System"
    features/step_definitions/navigation_steps.rb:61
  4. And I should see a "Confirm System Profile Deletion" text
    features/step_definitions/content_steps.rb:20
  5. And I click on "Delete Profile"
    features/step_definitions/navigation_steps.rb:50
  6. Then I should see that this system has been deleted
    features/step_definitions/content_steps.rb:37
# Copyright (c) 2015 SUSE LLC
# Licensed under the terms of the MIT license.

Feature: Test Bare-metal discovery

features/bare-metal-test.feature:6

Scenario: Enable Bare-metal discovery

  1. Given I am authorized as "admin" with password "admin"
    features/step_definitions/log_in_out_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:43:05 +0000
  3. And I follow "Admin"
    features/step_definitions/navigation_steps.rb:61
  4. And I follow "SUSE Manager Configuration" in the left menu
    features/step_definitions/navigation_steps.rb:116
  5. When I follow "Bare-metal systems" in the content area
    features/step_definitions/navigation_steps.rb:116
  6. Then I should see a "Allows SUSE Manager to automatically add bare-metal systems capable of PXE booting to an organization." text
    features/step_definitions/content_steps.rb:20
  7. And I should see a "Enable adding to this organization" button
    features/step_definitions/content_steps.rb:80
  8. When I click on "Enable adding to this organization"
    features/step_definitions/navigation_steps.rb:50
  9. Then I should see a "Automatic bare-metal system discovery has been successfully enabled" text
    features/step_definitions/content_steps.rb:20
  10. And the pxe-default-profile should be enabled
    features/step_definitions/command_steps.rb:91
features/bare-metal-test.feature:17

Scenario: Register a client

  1. Given I am root
    features/step_definitions/register_client_steps.rb:3
  2. This scenario ran at: 2016-10-25 12:43:08 +0000
  3. When I register using "1-spacewalk-bootstrap-activation-key" key
    features/step_definitions/register_client_steps.rb:23
  4. Then I should see this client in spacewalk
    features/step_definitions/register_client_steps.rb:35
features/bare-metal-test.feature:22

Scenario: check registration values

  1. Given I am on the Systems overview page of this client
    features/step_definitions/register_client_steps.rb:11
  2. This scenario ran at: 2016-10-25 12:43:09 +0000
  3. Then I should see a "System Info" text
    features/step_definitions/content_steps.rb:20
  4. And I should see a "Edit These Properties" link
    features/step_definitions/content_steps.rb:62
  5. And I should not see a "[Management]" text
    features/step_definitions/content_steps.rb:55
features/bare-metal-test.feature:28

Scenario: see the client in Bare metal specific system list

  1. Given I am on the Systems page
    features/step_definitions/systemspage_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:43:10 +0000
  3. And I follow "Systems" in the left menu
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "Bare Metal Systems" in the left menu
    features/step_definitions/navigation_steps.rb:116
  5. Then I should see a "Bare Metal Systems" text
    features/step_definitions/content_steps.rb:20
  6. And I should see a "Detected on" text
    features/step_definitions/content_steps.rb:20
  7. And I should see a "Number of CPUs" text
    features/step_definitions/content_steps.rb:20
  8. And I should see a "2" text
    features/step_definitions/content_steps.rb:20
  9. And I should see a "Clock frequency" text
    features/step_definitions/content_steps.rb:20
  10. And I should see the CPU frequency of the client
    features/step_definitions/baremetal.rb:17
  11. And I should see a "RAM" text
    features/step_definitions/content_steps.rb:20
  12. And I check the ram value
    features/step_definitions/baremetal.rb:1
  13. And I should see a "Number of disks" text
    features/step_definitions/content_steps.rb:20
  14. And I should see a "1" text
    features/step_definitions/content_steps.rb:20
  15. And I should see a "MAC Address(es)" text
    features/step_definitions/content_steps.rb:20
  16. And I check the MAC address value
    features/step_definitions/baremetal.rb:9
features/bare-metal-test.feature:45

Scenario: check tab links "Details"

  1. Given I am on the Systems page
    features/step_definitions/systemspage_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:43:12 +0000
  3. And I follow "Systems" in the left menu
    features/step_definitions/navigation_steps.rb:116
  4. When I follow this client link
    features/step_definitions/register_client_steps.rb:66
  5. Then I should see a "Details" link in the content area
    features/step_definitions/content_steps.rb:130
  6. And I should not see a "Software" link in the content area
    features/step_definitions/content_steps.rb:143
  7. And I should not see a "Configuration" link in the content area
    features/step_definitions/content_steps.rb:143
  8. And I should see a "Provisioning" link in the content area
    features/step_definitions/content_steps.rb:130
  9. And I should not see a "Groups" link in the content area
    features/step_definitions/content_steps.rb:143
  10. And I should not see a "Events" link in the content area
    features/step_definitions/content_steps.rb:143
  11. And I should see a "Overview" link in the content area
    features/step_definitions/content_steps.rb:130
  12. And I should see a "Properties" link in the content area
    features/step_definitions/content_steps.rb:130
  13. And I should not see a "Remote Command" link in the content area
    features/step_definitions/content_steps.rb:143
  14. And I should not see a "Reactivation" link in the content area
    features/step_definitions/content_steps.rb:143
  15. And I should see a "Hardware" link in the content area
    features/step_definitions/content_steps.rb:130
  16. And I should see a "Migrate" link in the content area
    features/step_definitions/content_steps.rb:130
  17. And I should see a "Notes" link in the content area
    features/step_definitions/content_steps.rb:130
  18. And I should not see a "Custom Info" link in the content area
    features/step_definitions/content_steps.rb:143
features/bare-metal-test.feature:64

Scenario: check tab links "Provisioning"

  1. Given I am on the Systems overview page of this client
    features/step_definitions/register_client_steps.rb:11
  2. This scenario ran at: 2016-10-25 12:43:13 +0000
  3. When I follow "Provisioning" in the content area
    features/step_definitions/navigation_steps.rb:116
  4. Then I should see a "Kickstart" link in the content area
    features/step_definitions/content_steps.rb:130
  5. And I should not see a "Snapshots" link in the content area
    features/step_definitions/content_steps.rb:143
  6. And I should not see a "Snapshot Tags" link in the content area
    features/step_definitions/content_steps.rb:143
  7. And I should see a "Power Management" link in the content area
    features/step_definitions/content_steps.rb:130
  8. And I should see a "Schedule" link in the content area
    features/step_definitions/content_steps.rb:130
features/bare-metal-test.feature:73

Scenario: check SSM with bare-metal system

  1. Given I am on the Systems page
    features/step_definitions/systemspage_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:43:14 +0000
  3. When I check this client
    features/step_definitions/create_group_steps.rb:11
  4. And I wait for "30" seconds
    features/step_definitions/common_steps.rb:4
  5. And I follow "System Set Manager" in the left menu
    features/step_definitions/navigation_steps.rb:116
  6. Then I should see a "At least one system in the set does not have the management system type: some actions will not be available" text
    features/step_definitions/content_steps.rb:20
features/bare-metal-test.feature:80

Scenario: check SSM page for bare-metal system

  1. Given I am on the Systems page
    features/step_definitions/systemspage_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:43:44 +0000
  3. When I follow "System Set Manager" in the left menu
    features/step_definitions/navigation_steps.rb:116
  4. Then I should see a "List the systems" link in the content area
    features/step_definitions/content_steps.rb:130
  5. And I should see a "Autoinstall" link in the content area
    features/step_definitions/content_steps.rb:130
  6. And I should see a "Configure power management" link in the content area
    features/step_definitions/content_steps.rb:130
  7. And I should see a "power management operations" link in the content area
    features/step_definitions/content_steps.rb:130
  8. And I should see a "Delete" link in the content area
    features/step_definitions/content_steps.rb:130
  9. And I should see a "Migrate" link in the content area
    features/step_definitions/content_steps.rb:130
  10. And I should not see a "Errata" link in the content area
    features/step_definitions/content_steps.rb:143
  11. And I should not see a "Packages" link in the content area
    features/step_definitions/content_steps.rb:143
  12. And I should see a "Groups" link in the content area
    features/step_definitions/content_steps.rb:130
  13. And I should not see a "Channels" link in the content area
    features/step_definitions/content_steps.rb:143
  14. And I should not see a "Audit" link in the content area
    features/step_definitions/content_steps.rb:143
  15. And I follow "Clear"
    features/step_definitions/navigation_steps.rb:61
features/bare-metal-test.feature:96

Scenario: Delete the system profile

  1. Given I am on the Systems overview page of this client
    features/step_definitions/register_client_steps.rb:11
  2. This scenario ran at: 2016-10-25 12:43:45 +0000
  3. When I follow "Delete System"
    features/step_definitions/navigation_steps.rb:61
  4. And I should see a "Confirm System Profile Deletion" text
    features/step_definitions/content_steps.rb:20
  5. And I click on "Delete Profile"
    features/step_definitions/navigation_steps.rb:50
features/bare-metal-test.feature:102

Scenario: Disable Bare-metal discovery

  1. Given I am authorized as "admin" with password "admin"
    features/step_definitions/log_in_out_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:43:46 +0000
  3. And I follow "Admin"
    features/step_definitions/navigation_steps.rb:61
  4. And I follow "SUSE Manager Configuration" in the left menu
    features/step_definitions/navigation_steps.rb:116
  5. When I follow "Bare-metal systems" in the content area
    features/step_definitions/navigation_steps.rb:116
  6. Then I should see a "Allows SUSE Manager to automatically add bare-metal systems capable of PXE booting to an organization." text
    features/step_definitions/content_steps.rb:20
  7. And I should see a "Disable adding to this organization" button
    features/step_definitions/content_steps.rb:80
  8. When I click on "Disable adding to this organization"
    features/step_definitions/navigation_steps.rb:50
  9. Then I should see a "Automatic bare-metal system discovery has been successfully disabled" text
    features/step_definitions/content_steps.rb:20
  10. And the pxe-default-profile should be disabled
    features/step_definitions/command_steps.rb:96
# COPYRIGHT (c) 2015 SUSE LCC
# Licensed under the terms of the MIT license.

Feature: Compare Channels

In Order to compare channels
As a testing user
I want to see the differences in the packages of two channels

features/compare_channel.feature:9

Scenario: Compare channel Packages (bsc#904690)

  1. Given I am on the manage software channels page
    features/step_definitions/channels_steps.rb:15
  2. This scenario ran at: 2016-10-25 12:43:48 +0000
  3. When I follow "Clone 2 of SLES11-SP3-Updates x86_64 Channel"
    features/step_definitions/navigation_steps.rb:61
  4. And I follow "Packages" in the content area
    features/step_definitions/navigation_steps.rb:116
  5. And I follow "Compare"
    features/step_definitions/navigation_steps.rb:61
  6. And I select "Clone 3 of SLES11-SP3-Updates x86_64 Channel" from "selected_channel"
    features/step_definitions/navigation_steps.rb:26
  7. And I click on "View Packages"
    features/step_definitions/navigation_steps.rb:50
  8. Then I should see a "andromeda-dummy" text
    features/step_definitions/content_steps.rb:20
  9. And I should see a "2.0-1.1" link
    features/step_definitions/content_steps.rb:62
  10. And I should see a "This channel only" text
    features/step_definitions/content_steps.rb:20
# Copyright (c) 2015 SUSE LLC
# Licensed under the terms of the MIT license.

Feature: Register a system to be managed via SSH push

In order to register a system to Spacewalk for being managed via SSH push
As the testing user
I want to register a client using spacewalk-ssh-push-init

features/ssh_push.feature:9

Scenario: Create activation key for SSH push

  1. Given I am on the Systems page
    features/step_definitions/systemspage_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:43:50 +0000
  3. And I follow "Activation Keys" in the left menu
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "Create Key"
    features/step_definitions/navigation_steps.rb:61
  5. When I enter "SSH push key" as "description"
    features/step_definitions/navigation_steps.rb:37
  6. And I enter "ssh-push" as "key"
    features/step_definitions/navigation_steps.rb:37
  7. And I select "Push via SSH" from "contact-method"
    features/step_definitions/navigation_steps.rb:26
  8. And I click on "Create Activation Key"
    features/step_definitions/navigation_steps.rb:50
  9. Then I should see a "Activation key SSH push key has been created." text
    features/step_definitions/content_steps.rb:20
features/ssh_push.feature:19

Scenario: Create activation key for SSH push via tunnel

  1. Given I am on the Systems page
    features/step_definitions/systemspage_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:43:51 +0000
  3. And I follow "Activation Keys" in the left menu
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "Create Key"
    features/step_definitions/navigation_steps.rb:61
  5. When I enter "SSH push via tunnel key" as "description"
    features/step_definitions/navigation_steps.rb:37
  6. And I enter "ssh-push-tunnel" as "key"
    features/step_definitions/navigation_steps.rb:37
  7. And I select "Push via SSH tunnel" from "contact-method"
    features/step_definitions/navigation_steps.rb:26
  8. And I click on "Create Activation Key"
    features/step_definitions/navigation_steps.rb:50
  9. Then I should see a "Activation key SSH push via tunnel key has been created." text
    features/step_definitions/content_steps.rb:20
features/ssh_push.feature:29

Scenario: Create bootstrap script for SSH push via tunnel

  1. When I execute mgr-bootstrap "--activation-keys=1-ssh-push-tunnel --script=bootstrap-ssh-push-tunnel.sh --no-up2date"
    features/step_definitions/command_steps.rb:20
  2. This scenario ran at: 2016-10-25 12:43:52 +0000
  3. Then I want to get "* bootstrap script (written):"
    features/step_definitions/command_steps.rb:125
  4. And I want to get " '/srv/www/htdocs/pub/bootstrap/bootstrap-ssh-push-tunnel.sh'"
    features/step_definitions/command_steps.rb:125
features/ssh_push.feature:34

Scenario: Register this client for SSH push via tunnel

  1. When I register this client for SSH push via tunnel
    features/step_definitions/ssh_push_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:43:52 +0000
  3. Then I should see this client in spacewalk
    features/step_definitions/register_client_steps.rb:35
features/ssh_push.feature:38

Scenario: Check this client's contact method

  1. Given I am on the Systems overview page of this client
    features/step_definitions/register_client_steps.rb:11
  2. This scenario ran at: 2016-10-25 12:43:59 +0000
  3. Then I should see a "Push via SSH tunnel" text
    features/step_definitions/content_steps.rb:20
# Copyright (c) 2015 SUSE LLC
# Licensed under the terms of the MIT license.

Feature: Delete a configuration channel

In Configuration
As the admin user
I want to delete a configuration channel

features/delete_config_channel.feature:9

Scenario: Delete configuration channel labeled "testchannel"

  1. Given I am testing configuration
    features/step_definitions/configuration_steps.rb:6
  2. This scenario ran at: 2016-10-25 12:44:00 +0000
  3. When I follow "Configuration Channels"
    features/step_definitions/navigation_steps.rb:61
  4. And I follow "Test Channel"
    features/step_definitions/navigation_steps.rb:61
  5. And I follow "delete channel"
    features/step_definitions/navigation_steps.rb:61
  6. And I click on "Delete Config Channel"
    features/step_definitions/navigation_steps.rb:50
  7. Then I should see a "Centrally Managed Configuration Channels" text
    features/step_definitions/content_steps.rb:20
  8. And I should see a "Create Config Channel" link
    features/step_definitions/content_steps.rb:62
# Copyright (c) 2015 SUSE LLC
# Licensed under the terms of the MIT license.
@users-createnewuser

Feature: Delete user user1

Validate users page accessibility

features/users-deleteuser1.feature:8

Scenario: Delete user1

  1. Given I am on the Details page
    features/step_definitions/userspage_steps.rb:11
  2. This scenario ran at: 2016-10-25 12:44:01 +0000
  3. When I follow "Delete User"
    features/step_definitions/navigation_steps.rb:61
  4. Then I should see a "Confirm User Deletion" text
    features/step_definitions/content_steps.rb:20
  5. And I should see a "This will delete this user permanently." text
    features/step_definitions/content_steps.rb:20
  6. When I click on "Delete User"
    features/step_definitions/navigation_steps.rb:50
  7. Then I should see a "Active Users" text
    features/step_definitions/content_steps.rb:20
  8. And I should not see a "user1" link
    features/step_definitions/content_steps.rb:76
# Copyright (c) 2015 SUSE LLC
# Licensed under the terms of the MIT license.

Feature: Test XML-RPC "api" namespace.

features/xmlrpc_api.feature:6

Scenario: Public API test

  1. Given I am logged in via XML-RPC/api as user "admin" and password "admin"
    features/step_definitions/xmlrpctest_steps.rb:8
  2. This scenario ran at: 2016-10-25 12:44:02 +0000
  3. When I call getVersion, I should get "17" as result
    features/step_definitions/xmlrpctest_steps.rb:16
  4. And I call systemVersion, I should get "3.0" as result
    features/step_definitions/xmlrpctest_steps.rb:20
  5. And I call getApiNamespaces, I should get 48 namespaces
    features/step_definitions/xmlrpctest_steps.rb:12
  6. And I call getApiNamespaceCallList, I should get 672 available api calls
    features/step_definitions/xmlrpctest_steps.rb:24
    Expected: 672
      Actual: 674 (MiniTest::Assertion)
    ./features/step_definitions/xmlrpctest_steps.rb:25:in `/^I call getApiNamespaceCallList, I should get (\d+) available api calls$/'
    features/xmlrpc_api.feature:11:in `And I call getApiNamespaceCallList, I should get 672 available api calls'
    23
    24When(/^I call getApiNamespaceCallList, I should get (\d+) available api calls$/) do |apiCount|
    25  assert_equal(apiCount.to_i, rpc_api_tester.getCountOfApiNamespaceCallList)
    26end
    27
    28# gem install syntax to get syntax highlighting
  7. And I call getApiCallList, I should get 48 available groups
    features/step_definitions/xmlrpctest_steps.rb:28
Screenshot
 
# Copyright (c) 2015 SUSE LLC
# Licensed under the terms of the MIT license.

Feature: Test XML-RPC "api" namespace.

features/xmlrpc_activationkey.feature:6

Scenario: List all Activation Keys

  1. Given I am logged in via XML-RPC/activationkey as user "admin" and password "admin"
    features/step_definitions/xmlrpc_activationkey_steps.rb:5
  2. This scenario ran at: 2016-10-25 12:44:03 +0000
  3. When I call listActivationKeys I should get some.
    features/step_definitions/xmlrpc_activationkey_steps.rb:18
features/xmlrpc_activationkey.feature:10

Scenario: Activation key

  1. Given I am logged in via XML-RPC/activationkey as user "admin" and password "admin"
    features/step_definitions/xmlrpc_activationkey_steps.rb:5
  2. This scenario ran at: 2016-10-25 12:44:04 +0000
  3. When I create an AK with id "testkey", description "Key for testing" and limit of 10
    features/step_definitions/xmlrpc_activationkey_steps.rb:9
  4. Then I should get it listed with a call of listActivationKeys.
    features/step_definitions/xmlrpc_activationkey_steps.rb:14
features/xmlrpc_activationkey.feature:15

Scenario: Details

  1. Given I am logged in via XML-RPC/activationkey as user "admin" and password "admin"
    features/step_definitions/xmlrpc_activationkey_steps.rb:5
  2. This scenario ran at: 2016-10-25 12:44:04 +0000
  3. When I call activationkey.setDetails() to the key
    features/step_definitions/xmlrpc_activationkey_steps.rb:48
  4. Then I have to see them by calling activationkey.getDetails()
    features/step_definitions/xmlrpc_activationkey_steps.rb:52
features/xmlrpc_activationkey.feature:20

Scenario: Cleanup

  1. Then I should get key deleted.
    features/step_definitions/xmlrpc_activationkey_steps.rb:22
  2. This scenario ran at: 2016-10-25 12:44:04 +0000
# Copyright (c) 2015 SUSE LLC
# Licensed under the terms of the MIT license.
@xmlrpc

Feature: Test XML-RPC "channel" namespace und sub-namespaces.

features/xmlrpc_channel.feature:7

Scenario: Create a custom software channel

  1. Given I am logged in via XML-RPC/channel as user "admin" and password "admin"
    features/step_definitions/xmlrpc_channel_steps.rb:3
  2. This scenario ran at: 2016-10-25 12:44:04 +0000
  3. When I create the following channels:
    features/step_definitions/xmlrpc_channel_steps.rb:16
    LABEL
    NAME
    SUMMARY
    ARCH
    PARENT
    foobar
    foobar
    foobar
    channel-x86_64
  4. Then "foobar" should get listed with a call of listSoftwareChannels
    features/step_definitions/xmlrpc_channel_steps.rb:37
features/xmlrpc_channel.feature:14

Scenario: Create a repo

  1. Given I am logged in via XML-RPC/channel as user "admin" and password "admin"
    features/step_definitions/xmlrpc_channel_steps.rb:3
  2. This scenario ran at: 2016-10-25 12:44:04 +0000
  3. When I create a repo with label "foobar" and url
    features/step_definitions/xmlrpc_channel_steps.rb:7
  4. And I associate repo "foobar" with channel "foobar"
    features/step_definitions/xmlrpc_channel_steps.rb:12
  5. Then channel "foobar" should have attribute "last_modified" from type "XMLRPC::DateTime"
    features/step_definitions/xmlrpc_channel_steps.rb:49
  6. And channel "foobar" should not have attribute "yumrepo_last_sync"
    features/step_definitions/xmlrpc_channel_steps.rb:55
features/xmlrpc_channel.feature:21

Scenario: Create a custom software channel as the child of another one

  1. Given I am logged in via XML-RPC/channel as user "admin" and password "admin"
    features/step_definitions/xmlrpc_channel_steps.rb:3
  2. This scenario ran at: 2016-10-25 12:44:04 +0000
  3. When I create the following channels:
    features/step_definitions/xmlrpc_channel_steps.rb:16
    LABEL
    NAME
    SUMMARY
    ARCH
    PARENT
    foobar-child
    foobar-child
    child of foobar
    channel-x86_64
    foobar
  4. Then "foobar-child" should get listed with a call of listSoftwareChannels
    features/step_definitions/xmlrpc_channel_steps.rb:37
  5. And "foobar" should be the parent channel of "foobar-child"
    features/step_definitions/xmlrpc_channel_steps.rb:45
features/xmlrpc_channel.feature:29

Scenario: List software channels

  1. Given I am logged in via XML-RPC/channel as user "admin" and password "admin"
    features/step_definitions/xmlrpc_channel_steps.rb:3
  2. This scenario ran at: 2016-10-25 12:44:05 +0000
  3. Then something should get listed with a call of listSoftwareChannels
    features/step_definitions/xmlrpc_channel_steps.rb:33
features/xmlrpc_channel.feature:33

Scenario: Delete a child software channel

  1. Given I am logged in via XML-RPC/channel as user "admin" and password "admin"
    features/step_definitions/xmlrpc_channel_steps.rb:3
  2. This scenario ran at: 2016-10-25 12:44:05 +0000
  3. When I delete the software channel with label "foobar-child"
    features/step_definitions/xmlrpc_channel_steps.rb:25
  4. Then "foobar-child" should not get listed with a call of listSoftwareChannels
    features/step_definitions/xmlrpc_channel_steps.rb:41
features/xmlrpc_channel.feature:38

Scenario: Delete a software channel

  1. Given I am logged in via XML-RPC/channel as user "admin" and password "admin"
    features/step_definitions/xmlrpc_channel_steps.rb:3
  2. This scenario ran at: 2016-10-25 12:44:05 +0000
  3. When I delete the repo with label "foobar"
    features/step_definitions/xmlrpc_channel_steps.rb:29
  4. And I delete the software channel with label "foobar"
    features/step_definitions/xmlrpc_channel_steps.rb:25
  5. Then "foobar" should not get listed with a call of listSoftwareChannels
    features/step_definitions/xmlrpc_channel_steps.rb:41
features/xmlrpc_channel.feature:44

Scenario: check yumrepo_last_sync of a synced channel

  1. Given I am logged in via XML-RPC/channel as user "admin" and password "admin"
    features/step_definitions/xmlrpc_channel_steps.rb:3
  2. This scenario ran at: 2016-10-25 12:44:05 +0000
  3. Then channel "sles11-sp3-updates-i586-channel" should have attribute "yumrepo_last_sync" from type "XMLRPC::DateTime"
    features/step_definitions/xmlrpc_channel_steps.rb:49
# Copyright 2015 SUSE LLC
# Licensed under the terms of the MIT license.

Feature: I want to verify the Setup Wizard

features/setup_wizard.feature:6

Scenario: I want to test the credentials setup

  1. Given I am on the Admin page
    features/step_definitions/adminpage_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:44:05 +0000
  3. And I follow "Organization Credentials" in the content area
    features/step_definitions/navigation_steps.rb:116
  4. And I want to add a new credential
    features/step_definitions/navigation_steps.rb:112
  5. And I enter "asdf" as "edit-user"
    features/step_definitions/navigation_steps.rb:37
  6. And I enter "asdf" as "edit-password"
    features/step_definitions/navigation_steps.rb:37
  7. And I click on "Save"
    features/step_definitions/navigation_steps.rb:50
  8. And I should see a "asdf" text
    features/step_definitions/content_steps.rb:20
  9. And I make the credentials primary
    features/step_definitions/setup_wizard.rb:3
  10. And I view the primary subscription list for asdf
    features/step_definitions/setup_wizard.rb:20
  11. And I should see a "No subscriptions available" text
    features/step_definitions/content_steps.rb:20
  12. And I click on "Close"
    features/step_definitions/navigation_steps.rb:50
  13. And I delete the primary credentials
    features/step_definitions/setup_wizard.rb:11
  14. And I view the primary subscription list
    features/step_definitions/setup_wizard.rb:16
  15. And I click on "Close"
    features/step_definitions/navigation_steps.rb:50
  16. And I should not see a "asdf" text
    features/step_definitions/content_steps.rb:55
features/setup_wizard.feature:23

Scenario: I want to test the products page

  1. Given I am on the Admin page
    features/step_definitions/adminpage_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:44:09 +0000
  3. And I follow "Admin" in the tab bar
    features/step_definitions/navigation_steps.rb:116
  4. And I refresh scc
    features/step_definitions/setup_wizard.rb:7
  5. And I follow "SUSE Products" in the content area
    features/step_definitions/navigation_steps.rb:116
  6. And I should see a "Available Products Below" text
    features/step_definitions/content_steps.rb:20
  7. And I should see a "Architecture" text
    features/step_definitions/content_steps.rb:20
  8. And I should see a "Channels" text
    features/step_definitions/content_steps.rb:20
  9. And I should see a "Status" text
    features/step_definitions/content_steps.rb:20
  10. And I should not see a "WebYaST 1.3" text
    features/step_definitions/content_steps.rb:55
  11. And I select "SUSE Linux Enterprise Server 12 SP1" as a product for the "x86_64" architecture
    features/step_definitions/setup_wizard.rb:38
    Unable to find xpath "(//span[contains(text(), 'SUSE Linux Enterprise Server 12 SP1')]/ancestor::tr[td[contains(text(), 'x86_64')]])[1]" (Capybara::ElementNotFound)
    ./features/step_definitions/setup_wizard.rb:39:in `/^I select "([^\"]*)" as a product for the "([^\"]*)" architecture$/'
    features/setup_wizard.feature:33:in `And I select "SUSE Linux Enterprise Server 12 SP1" as a product for the "x86_64" architecture'
    37
    38When(/^I select "([^\"]*)" as a product for the "([^\"]*)" architecture$/) do |product, architecture|
    39  within(:xpath, "(//span[contains(text(), '#{product}')]/ancestor::tr[td[contains(text(), '#{architecture}')]])[1]") do
    40    fail unless find("button.product-add-btn").click
    41  end
    42# gem install syntax to get syntax highlighting
  12. And I select the addon "Legacy Module 12" for the product "SUSE Linux Enterprise Server 12 SP1" with arch "x86_64"
    features/step_definitions/setup_wizard.rb:44
  13. And I click the Add Product button
    features/step_definitions/setup_wizard.rb:54
  14. And I wait for "20" seconds
    features/step_definitions/common_steps.rb:4
  15. And I verify the products were added
    features/step_definitions/setup_wizard.rb:62
Screenshot
 
@lololfeatures/setup_wizard.feature:40

Scenario: I want to test the channels list in the products page

  1. Given I am on the Admin page
    features/step_definitions/adminpage_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:44:20 +0000
  3. And I follow "Admin" in the tab bar
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "SUSE Products" in the content area
    features/step_definitions/navigation_steps.rb:116
  5. When I click the channel list of product "SUSE Linux Enterprise Server for SAP All-in-One 11 SP2" for the "x86_64" architecture
    features/step_definitions/setup_wizard.rb:69
    Unable to find xpath "//span[contains(text(), 'SUSE Linux Enterprise Server for SAP All-in-One 11 SP2')]/ancestor::tr[td[contains(text(), 'x86_64')]]" (Capybara::ElementNotFound)
    ./features/step_definitions/setup_wizard.rb:70:in `/^I click the channel list of product "(.*?)" for the "(.*?)" architecture$/'
    features/setup_wizard.feature:48:in `When I click the channel list of product "SUSE Linux Enterprise Server for SAP All-in-One 11 SP2" for the "x86_64" architecture'
    68
    69When(/^I click the channel list of product "(.*?)" for the "(.*?)" architecture$/) do |product, architecture|
    70  within(:xpath, "//span[contains(text(), '#{product}')]/ancestor::tr[td[contains(text(), '#{architecture}')]]") do
    71    fail unless find('.product-channels-btn').click
    72  end
    73# gem install syntax to get syntax highlighting
  6. Then I should see a "Product Channels" text
    features/step_definitions/content_steps.rb:20
  7. And I should see a "Mandatory Channels" text
    features/step_definitions/content_steps.rb:20
  8. And I should see a "Optional Channels" text
    features/step_definitions/content_steps.rb:20
  9. And I should see a "Close" text
    features/step_definitions/content_steps.rb:20
Screenshot
 
# Copyright (c) 2015 SUSE LLC
# Licensed under the terms of the MIT license.
# hooks in support/password_hooks.rb

Feature: Change the user's password

In Order to change my password
As an authorized user
I want to input a new password

@revertgoodpassfeatures/change_password.feature:11

Scenario: Change the password to a valid password

  1. Given I am authorized as "admin" with password "admin"
    features/step_definitions/log_in_out_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:44:31 +0000
  3. And I follow "Your Account"
    features/step_definitions/navigation_steps.rb:61
  4. And I enter "GoodPass" as "desiredpassword"
    features/step_definitions/navigation_steps.rb:37
  5. And I enter "GoodPass" as "desiredpasswordConfirm"
    features/step_definitions/navigation_steps.rb:37
  6. And I click on "Update"
    features/step_definitions/navigation_steps.rb:50
  7. Then I should see a "User information updated" text
    features/step_definitions/content_steps.rb:20
  8. Given I sign out
    features/step_definitions/log_in_out_steps.rb:16
  9. And I enter "admin" as "username"
    features/step_definitions/navigation_steps.rb:37
  10. And I enter "GoodPass" as "password"
    features/step_definitions/navigation_steps.rb:37
  11. And I click on "Sign In"
    features/step_definitions/navigation_steps.rb:50
  12. Then I should be logged in
    features/step_definitions/log_in_out_steps.rb:24
@revertshortpassfeatures/change_password.feature:25

Scenario: Change the password to an invalid password

  1. Given I am authorized as "admin" with password "admin"
    features/step_definitions/log_in_out_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:44:36 +0000
  3. And I follow "Your Account"
    features/step_definitions/navigation_steps.rb:61
  4. And I enter "A" as "desiredpassword"
    features/step_definitions/navigation_steps.rb:37
  5. And I enter "A" as "desiredpasswordConfirm"
    features/step_definitions/navigation_steps.rb:37
  6. And I click on "Update"
    features/step_definitions/navigation_steps.rb:50
  7. Then I should see a "Passwords must be at least 5 characters." text
    features/step_definitions/content_steps.rb:20
  8. Given I sign out
    features/step_definitions/log_in_out_steps.rb:16
  9. And I enter "admin" as "username"
    features/step_definitions/navigation_steps.rb:37
  10. And I enter "A" as "password"
    features/step_definitions/navigation_steps.rb:37
  11. And I click on "Sign In"
    features/step_definitions/navigation_steps.rb:50
  12. Then I should not be authorized
    features/step_definitions/log_in_out_steps.rb:20
# Copyright (c) 2015 SUSE LLC
# Licensed under the terms of the MIT license.

Feature: call spacewalk-debug and copy the server logs

In Order to get the server logfiles
As user root
I want to call spacewalk-debug on the server
And I want to copy the logs to the client

features/spacewalk-debug.feature:10

Scenario: call spacewalk-debug

  1. Given I am root
    features/step_definitions/register_client_steps.rb:3
  2. This scenario ran at: 2016-10-25 12:44:49 +0000
  3. Then I execute spacewalk-debug on the server
    features/step_definitions/command_steps.rb:71
features/spacewalk-debug.feature:14

Scenario: copy the archive

  1. When I copy "/tmp/spacewalk-debug.tar.bz2"
    features/step_definitions/command_steps.rb:75
  2. This scenario ran at: 2016-10-25 12:45:06 +0000
# Copyright (c) 2016 SUSE LLC
# Licensed under the terms of the MIT license

Feature: Check suse-managager logs for errors

features/spacewalk-errors.feature:6

Scenario: Check spacewalk upd2date logs on client

  1. Then I control that up2date logs on client under test contains no Traceback error
    features/step_definitions/spacewalk_errors.rb:4
  2. This scenario ran at: 2016-10-25 12:45:07 +0000
features/spacewalk-errors.feature:9

Scenario: Check the tomcat log on manager-server

  1. Then I check the tomcat logs for errors
    features/step_definitions/command_steps.rb:53
  2. This scenario ran at: 2016-10-25 12:45:07 +0000
  3. And I check the tomcat logs for NullPointerExceptions
    features/step_definitions/command_steps.rb:60
# Copyright (c) 2015 SUSE LLC
# Licensed under the terms of the MIT license.

Feature: smdba database helper tool

In order to protect the data in SUSE Manager
As a Database administrator
I want to easily take backups and snapshots

features/smdba.feature:9

Scenario: Check embedded database running

  1. Given a postgresql database is running
    features/step_definitions/smdba_steps.rb:3
  2. This scenario ran at: 2016-10-25 12:45:07 +0000
  3. Database is running
  4. When I start database with the command "smdba db-start"
    features/step_definitions/smdba_steps.rb:22
  5. And when I issue command "smdba db-status"
    features/step_definitions/smdba_steps.rb:38
  6. Then I want to see if "online" is in the output
    features/step_definitions/smdba_steps.rb:50
features/smdba.feature:15

Scenario: Check embedded database can be stopped, started and restarted

  1. Given a postgresql database is running
    features/step_definitions/smdba_steps.rb:3
  2. This scenario ran at: 2016-10-25 12:45:09 +0000
  3. Database is running
  4. When I start database with the command "smdba db-start"
    features/step_definitions/smdba_steps.rb:22
  5. And when I see that the database is "online" or "failed" as it might already running
    features/step_definitions/smdba_steps.rb:42
  6. And when I stop the database with the command "smdba db-stop"
    features/step_definitions/smdba_steps.rb:26
  7. And when I check the database status with the command "smdba db-status"
    features/step_definitions/smdba_steps.rb:30
  8. Then I want to see if the database is "offline"
    features/step_definitions/smdba_steps.rb:46
  9. When I start database with the command "smdba db-start"
    features/step_definitions/smdba_steps.rb:22
  10. And when I issue command "smdba db-status"
    features/step_definitions/smdba_steps.rb:38
  11. Then I want to see if the database is "online"
    features/step_definitions/smdba_steps.rb:46
features/smdba.feature:26

Scenario: Check system check of the database sets optimal configuration

  1. Given a postgresql database is running
    features/step_definitions/smdba_steps.rb:3
  2. This scenario ran at: 2016-10-25 12:45:16 +0000
  3. Database is running
  4. When I stop the database with the command "smdba db-stop"
    features/step_definitions/smdba_steps.rb:34
  5. And when I configure "/var/lib/pgsql/data/postgresql.conf" parameter "wal_level" to "hot_standby"
    features/step_definitions/smdba_steps.rb:54
  6. Then I start database with the command "smdba db-start"
    features/step_definitions/smdba_steps.rb:22
  7. And when I issue command "smdba db-status"
    features/step_definitions/smdba_steps.rb:38
  8. Then I want to see if the database is "online"
    features/step_definitions/smdba_steps.rb:46
  9. And when I check internally configuration for "wal_level" option
    features/step_definitions/smdba_steps.rb:61
  10. Then I expect to see the configuration is set to "hot_standby"
    features/step_definitions/smdba_steps.rb:65
  11. And I issue command "smdba system-check"
    features/step_definitions/smdba_steps.rb:69
  12. And when I stop the database with the command "smdba db-stop"
    features/step_definitions/smdba_steps.rb:26
  13. And I start database with the command "smdba db-start"
    features/step_definitions/smdba_steps.rb:22
  14. And when I check internally configuration for "wal_level" option
    features/step_definitions/smdba_steps.rb:61
  15. Then I expect to see the configuration is set to "archive"
    features/step_definitions/smdba_steps.rb:65
features/smdba.feature:41

Scenario: Check database utilities

  1. Given a postgresql database is running
    features/step_definitions/smdba_steps.rb:3
  2. This scenario ran at: 2016-10-25 12:45:24 +0000
  3. Database is running
  4. When I issue command "smdba space-overview"
    features/step_definitions/smdba_steps.rb:69
  5. Then I find tablespaces "susemanager" and "postgres"
    features/step_definitions/smdba_steps.rb:73
  6. When I issue command "smdba space-reclaim"
    features/step_definitions/smdba_steps.rb:69
  7. Then I find core examination is "finished", database analysis is "done" and space reclamation is "done"
    features/step_definitions/smdba_steps.rb:78
  8. When I issue command "smdba space-tables"
    features/step_definitions/smdba_steps.rb:69
  9. Then I find "public.rhnserver", "public.rhnpackage" and "public.web_contact" are in the list.
    features/step_definitions/smdba_steps.rb:82
features/smdba.feature:50

Scenario: Check SMDBA backup setup facility

  1. Given a postgresql database is running
    features/step_definitions/smdba_steps.rb:3
  2. This scenario ran at: 2016-10-25 12:45:30 +0000
  3. Database is running
  4. And there is no such "/smdba-backup-test" directory
    features/step_definitions/smdba_steps.rb:18
  5. When I create backup directory "smdba-backup-testt" with UID "root" and GID "root"
    features/step_definitions/smdba_steps.rb:98
  6. Backup directory:
  7. drwxr-xr-x 2 root root 4096 Oct 25 12:45 smdba-backup-test
  8. And when I issue command "smdba backup-hot --enable=on --backup-dir=/smdba-backup-test"
    features/step_definitions/smdba_steps.rb:38
  9. Then I should see error message that asks "/smdba-backup-test" belong to the same UID/GID as "/var/lib/pgsql/data" directory
    features/step_definitions/smdba_steps.rb:105
  10. And I remove backup directory "/smdba-backup-test"
    features/step_definitions/smdba_steps.rb:115
  11. When I create backup directory "smdba-backup-testt" with UID "postgres" and GID "postgres"
    features/step_definitions/smdba_steps.rb:98
  12. Backup directory:
  13. drwxr-xr-x 2 postgres postgres 4096 Oct 25 12:45 smdba-backup-test
  14. And when I issue command "smdba backup-hot --enable=on --backup-dir=/smdba-backup-test"
    features/step_definitions/smdba_steps.rb:38
  15. Then I should see error message that asks "/smdba-backup-test" has same permissions as "/var/lib/pgsql/data" directory
    features/step_definitions/smdba_steps.rb:110
  16. And I remove backup directory "/smdba-backup-test"
    features/step_definitions/smdba_steps.rb:115
features/smdba.feature:62

Scenario: Take backup with SMDBA

  1. Given a postgresql database is running
    features/step_definitions/smdba_steps.rb:3
  2. This scenario ran at: 2016-10-25 12:45:32 +0000
  3. Database is running
  4. And there is no such "/smdba-backup-test" directory
    features/step_definitions/smdba_steps.rb:18
  5. When I create backup directory "smdba-backup-testt" with UID "postgres" and GID "postgres"
    features/step_definitions/smdba_steps.rb:98
  6. Backup directory:
  7. drwxr-xr-x 2 postgres postgres 4096 Oct 25 12:45 smdba-backup-test
  8. And when I change Access Control List on "smdba-backup-testt" directory to "0700"
    features/step_definitions/smdba_steps.rb:119
  9. Backup directory, ACL to "0700":
  10. drwx------ 2 postgres postgres 4096 Oct 25 12:45 smdba-backup-test
  11. *** Taking backup, this might take a while ***
  12. And when I issue command "smdba backup-hot --enable=on --backup-dir=/smdba-backup-test"
    features/step_definitions/smdba_steps.rb:38
  13. Then base backup is taken
    features/step_definitions/smdba_steps.rb:127
  14. And in "/smdba-backup-test" directory there is "base.tar.gz" file and at least one backup checkpoint file
    features/step_definitions/smdba_steps.rb:131
  15. And parameter "archive_command" in the configuration file "/var/lib/pgsql/data/postgresql.conf" is "/usr/bin/smdba-pgarchive"
    features/step_definitions/smdba_steps.rb:140
  16. And "/usr/bin/smdba-pgarchive" destination should be set to "/smdba-backup-test" in configuration file
    features/step_definitions/smdba_steps.rb:145
features/smdba.feature:73

Scenario: Restore backup with SMDBA

  1. Given a postgresql database is running
    features/step_definitions/smdba_steps.rb:3
  2. This scenario ran at: 2016-10-25 12:45:44 +0000
  3. Database is running
  4. And database "susemanager" has no table "dummy"
    features/step_definitions/smdba_steps.rb:91
  5. When I set a checkpoint
    features/step_definitions/smdba_steps.rb:149
  6. And when I issue command "smdba backup-hot"
    features/step_definitions/smdba_steps.rb:38
  7. And when in the database I create dummy table "dummy" with column "test" and value "bogus data"
    features/step_definitions/smdba_steps.rb:153
  8. Table "dummy" has been created with some dummy data inside
  9. And when I destroy "/var/lib/pgsql/data/pg_xlog" directory
    features/step_definitions/smdba_steps.rb:175
  10. And when I restore database from the backup
    features/step_definitions/smdba_steps.rb:165
  11. *** Restoring database from the backup. This will may take a while. ***
  12. And when I issue command "smdba db-status"
    features/step_definitions/smdba_steps.rb:38
  13. Given a postgresql database is running
    features/step_definitions/smdba_steps.rb:3
  14. Database is running
  15. And database "susemanager" has no table "dummy"
    features/step_definitions/smdba_steps.rb:91
  16. Then I disable backup in the directory "/smdba-backup-test"
    features/step_definitions/smdba_steps.rb:170
  17. And I remove backup directory "/smdba-backup-test"
    features/step_definitions/smdba_steps.rb:115

Feature: Basic web security measures and recommendations

In order to be secure
As an authorized user
I want to avoid session and other attacks

features/security.feature:6

Scenario: Caching should be disabled for non-static content

  1. Given I navigate to any non-static page
    features/step_definitions/security_steps.rb:9
  2. This scenario ran at: 2016-10-25 12:45:56 +0000
  3. Then the response header "ETag" should not be present
    features/step_definitions/security_steps.rb:52
  4. And the response header "Cache-Control" should be "no-cache,no-store,must-revalidate,private"
    features/step_definitions/security_steps.rb:33
  5. And the response header "Pragma" should be "no-cache"
    features/step_definitions/security_steps.rb:33
  6. And the response header "Expires" should be "0"
    features/step_definitions/security_steps.rb:33
  7. And the response header "Set-Cookie" should contain ";HttpOnly;Secure"
    features/step_definitions/security_steps.rb:45
  8. And the response header "X-Frame-Options" should contain "SAMEORIGIN"
    features/step_definitions/security_steps.rb:45
  9. And the response header "X-XSS-Protection" should be "1; mode=block"
    features/step_definitions/security_steps.rb:33
  10. And the response header "X-Content-Type-Options" should be "nosniff"
    features/step_definitions/security_steps.rb:33
  11. And the response header "X-Permitted-Cross-Domain-Policies" should be "master-only"
    features/step_definitions/security_steps.rb:33
features/security.feature:18

Scenario: Obsolete and problematic headers for non-static content

  1. Given I navigate to any non-static page
    features/step_definitions/security_steps.rb:9
  2. This scenario ran at: 2016-10-25 12:45:57 +0000
  3. Then the response header "X-WebKit-CSP" should not be present
    features/step_definitions/security_steps.rb:52
features/security.feature:22

Scenario: Caching should be enabled for static content

  1. Given I retrieve any static resource
    features/step_definitions/security_steps.rb:24
  2. This scenario ran at: 2016-10-25 12:45:57 +0000
  3. Then the response header "ETag" should not be present
    features/step_definitions/security_steps.rb:52
  4. And the response header "Pragma" should not be present
    features/step_definitions/security_steps.rb:52
  5. And the response header "Expires" should not be "0"
    features/step_definitions/security_steps.rb:40
  6. And the response header "Set-Cookie" should not be present
    features/step_definitions/security_steps.rb:52
  7. And the response header "X-Frame-Options" should contain "SAMEORIGIN"
    features/step_definitions/security_steps.rb:45
  8. And the response header "X-XSS-Protection" should be "1; mode=block"
    features/step_definitions/security_steps.rb:33
  9. And the response header "X-Content-Type-Options" should be "nosniff"
    features/step_definitions/security_steps.rb:33
  10. And the response header "X-Permitted-Cross-Domain-Policies" should be "master-only"
    features/step_definitions/security_steps.rb:33
features/security.feature:33

Scenario: Obsolete and problematic headers for static content

  1. Given I retrieve any static resource
    features/step_definitions/security_steps.rb:24
  2. This scenario ran at: 2016-10-25 12:45:57 +0000
  3. Then the response header "X-WebKit-CSP" should not be present
    features/step_definitions/security_steps.rb:52
features/security.feature:37

Scenario: Do not use jsession id

  1. Given I am not authorized
    features/step_definitions/access_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:45:57 +0000
  3. Then the login form does not contain a jsessionid
    features/step_definitions/security_steps.rb:57
    URL rewriting is enabled: jsessionid present.
    Expected "https://suma3pg.tf.local/rhn/LoginSubmit.do;jsessionid=2989395DEA09A8E0DE4C3B84A0CCD1B0" to not include "jsessionid=". (MiniTest::Assertion)
    ./features/step_definitions/security_steps.rb:59:in `/^the login form does not contain a jsessionid$/'
    features/security.feature:39:in `Then the login form does not contain a jsessionid'
    57Then(/^the login form does not contain a jsessionid$/) do
    58  form = find(:xpath, '//form[@name="loginForm"]')
    59  refute_includes(form['action'], 'jsessionid=', 'URL rewriting is enabled: jsessionid present')
    60end
    61# gem install syntax to get syntax highlighting
Screenshot
 
# Copyright (c) 2015 SUSE LLC
# Licensed under the terms of the MIT license.

Feature: Salt is configured and running

In order to operate SUSE Manager based on Salt
I want to verify general salt functionality and system registration

features/salt.feature:8

Scenario: salt-api is properly configured

  1. When I get the contents of the remote file "/etc/salt/master.d/susemanager.conf"
    features/step_definitions/salt_steps.rb:56
  2. This scenario ran at: 2016-10-25 12:45:57 +0000
  3. Then it should contain a "rest_cherrypy:" text
    features/step_definitions/salt_steps.rb:191
  4. And it should contain a "port: 9080" text
    features/step_definitions/salt_steps.rb:191
  5. And it should contain a "external_auth:" text
    features/step_definitions/salt_steps.rb:191
features/salt.feature:14

Scenario: salt-master and salt-api are listening

  1. Then salt-api should be listening on local port 9080
    features/step_definitions/salt_steps.rb:195
  2. This scenario ran at: 2016-10-25 12:45:58 +0000
  3. And salt-master should be listening on public port 4505
    features/step_definitions/salt_steps.rb:200
  4. And salt-master should be listening on public port 4506
    features/step_definitions/salt_steps.rb:200
features/salt.feature:19

Scenario: The minion is running

  1. Given the Salt Minion is configured
    features/step_definitions/salt_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:45:58 +0000
  3. Key /etc/salt/pki/minion/minion_master.pub has been removed on minion
  4. And I restart salt-minion
    features/step_definitions/salt_steps.rb:76
  5. Then the Salt Minion should be running
    features/step_definitions/salt_steps.rb:80
features/salt.feature:24

Scenario: The minion appears in the master's incoming queue

  1. When I list unaccepted keys at Salt Master
    features/step_definitions/salt_steps.rb:93
  2. This scenario ran at: 2016-10-25 12:46:01 +0000
  3. Then the list of the keys should contain this client's hostname
    features/step_definitions/salt_steps.rb:108
# Copyright (c) 2015 SUSE LLC
# Licensed under the terms of the MIT license.

Feature: Explore the Minions page

In Order to validate the minion onboarding page
As an authorized user
I want to verify all the minion key management features in the UI

Background

  1. Given I am authorized as "testing" with password "testing"
    features/step_definitions/log_in_out_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:46:44 +0000
features/salt_minions_page.feature:12

Scenario: Completeness of the Minions page

  1. Given I go to the minion onboarding page
    features/step_definitions/salt_minions_page_steps.rb:34
  2. Then I should see a "Onboarding" text in the content area
    features/step_definitions/salt_minions_page_steps.rb:54
  3. And I should see a "Fingerprint" text
    features/step_definitions/content_steps.rb:20
features/salt_minions_page.feature:17

Scenario: Minion is visible in the Pending section

  1. Given this minion key is unaccepted
    features/step_definitions/salt_steps.rb:115
  2. This scenario ran at: 2016-10-25 12:46:45 +0000
  3. And I go to the minion onboarding page
    features/step_definitions/salt_minions_page_steps.rb:34
  4. Then I refresh page until see this hostname as text
    features/step_definitions/salt_minions_page_steps.rb:46
  5. And I see my fingerprint
    features/step_definitions/salt_minions_page_steps.rb:23
  6. And I should see a "pending" text
    features/step_definitions/content_steps.rb:20
features/salt_minions_page.feature:24

Scenario: Reject and delete the pending minion key

  1. Given this minion key is unaccepted
    features/step_definitions/salt_steps.rb:115
  2. This scenario ran at: 2016-10-25 12:46:47 +0000
  3. And I go to the minion onboarding page
    features/step_definitions/salt_minions_page_steps.rb:34
  4. And I reject this client from the Pending section
    features/step_definitions/salt_minions_page_steps.rb:15
  5. And we wait till Salt master sees this minion as rejected
    features/step_definitions/salt_steps.rb:160
  6. Then I should see a "rejected" text
    features/step_definitions/content_steps.rb:20
  7. And I delete this client from the Rejected section
    features/step_definitions/salt_minions_page_steps.rb:19
  8. Then I should not see this client as a Minion anywhere
    features/step_definitions/salt_minions_page_steps.rb:10
features/salt_minions_page.feature:33

Scenario: Accepted minion shows up as a registered system

  1. Given this minion key is unaccepted
    features/step_definitions/salt_steps.rb:115
  2. This scenario ran at: 2016-10-25 12:47:20 +0000
  3. And this minion is not registered in Spacewalk
    features/step_definitions/salt_steps.rb:205
  4. And I go to the minion onboarding page
    features/step_definitions/salt_minions_page_steps.rb:34
  5. Then I should see a "pending" text
    features/step_definitions/content_steps.rb:20
  6. When I accept this client's minion key
    features/step_definitions/salt_minions_page_steps.rb:30
  7. And we wait till Salt master sees this minion as accepted
    features/step_definitions/salt_steps.rb:143
  8. And I wait for "20" seconds
    features/step_definitions/common_steps.rb:4
  9. And I follow first "Systems"
    features/step_definitions/navigation_steps.rb:72
  10. Then I should see this client as link
    features/step_definitions/register_client_steps.rb:62
features/salt_minions_page.feature:45

Scenario: The minion communicates with the master

  1. Given that the master can reach this client
    features/step_definitions/salt_steps.rb:21
  2. This scenario ran at: 2016-10-25 12:48:44 +0000
  3. When I get OS information of the Minion from the Master
    features/step_definitions/salt_steps.rb:187
    FAIL: salt minion12sp1 grains.get osfullname returned 2. output : ERROR: No return received
    No minions matched the target. No command was sent, no jid was assigned.
    
    ./features/step_definitions/salt_steps.rb:188:in `/^I get OS information of the Minion from the Master$/'
    features/salt_minions_page.feature:48:in `When I get OS information of the Minion from the Master'
    186
    187When(/^I get OS information of the Minion from the Master$/) do
    188  $output, _code = $server.run("salt #{$minion_hostname} grains.get osfullname")
    189end
    190
    191# gem install syntax to get syntax highlighting
  4. Then it should contain a "SLES" text
    features/step_definitions/salt_steps.rb:191
Screenshot
 
# Copyright (c) 2015 SUSE LLC.
# Licensed under the terms of the MIT license.

Feature: Verify the minion registration

In order to validate the completeness of minion registration
I want to see minion details and installed packages

features/salt_minion_details.feature:8

Scenario: Check for the Salt entitlement

  1. Given I am on the Systems overview page of this minion
    features/step_definitions/salt_steps.rb:44
  2. This scenario ran at: 2016-10-25 12:48:50 +0000
  3. Then I should see a "[Salt]" text
    features/step_definitions/content_steps.rb:20
features/salt_minion_details.feature:12

Scenario: Check if package list has been refreshed

  1. Given I am on the Systems overview page of this minion
    features/step_definitions/salt_steps.rb:44
  2. This scenario ran at: 2016-10-25 12:48:51 +0000
  3. When I follow "Events"
    features/step_definitions/navigation_steps.rb:61
  4. And I follow "History"
    features/step_definitions/navigation_steps.rb:61
  5. Then I try to reload page until contains "Package List Refresh scheduled by (none)" text
    features/step_definitions/salt_steps.rb:232
features/salt_minion_details.feature:18

Scenario: Check installed packages are visible

  1. Given I am on the Systems overview page of this minion
    features/step_definitions/salt_steps.rb:44
  2. This scenario ran at: 2016-10-25 12:48:52 +0000
  3. When I follow "Software"
    features/step_definitions/navigation_steps.rb:61
  4. And I follow "List / Remove"
    features/step_definitions/navigation_steps.rb:61
  5. Then I should see a "aaa_base" text
    features/step_definitions/content_steps.rb:20
  6. And I should see a "aaa_base-extras" text
    features/step_definitions/content_steps.rb:20
    ./features/step_definitions/content_steps.rb:24:in `/^I should see a "([^"]*)" text$/'
    features/salt_minion_details.feature:23:in `And I should see a "aaa_base-extras" text'
    22    sleep 45
    23    print arg1
    24    fail unless page.has_content?(debrand_string(arg1))
    25  end
    26end
    27# gem install syntax to get syntax highlighting
Screenshot
 

Feature: Endpoint to download packages

In Order distribute software to the clients
As an authorized user
I want to download packages from the channels

features/salt_download_endpoint.feature:6

Scenario: user without token

  1. Given I try download "virgo-dummy-2.0-1.1.noarch.rpm" from channel "sles11-sp3-updates-x86_64-channel"
    features/step_definitions/salt_download_endpoint_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:49:59 +0000
  3. https://suma3pg.tf.local/rhn/manager/download/sles11-sp3-updates-x86_64-channel/getPackage/virgo-dummy-2.0-1.1.noarch.rpm
  4. Then the download should get a 403 response
    features/step_definitions/salt_download_endpoint_steps.rb:22
features/salt_download_endpoint.feature:10

Scenario: user with a valid token for the org

  1. Given I have a valid token for organization "1"
    features/step_definitions/download_token_steps.rb:20
  2. This scenario ran at: 2016-10-25 12:49:59 +0000
  3. 58bbe387049676c1b51f7dd4e67039a0b1c9d45ce43ad911a04f9fa5925a9567
  4. Then I try download "virgo-dummy-2.0-1.1.noarch.rpm" from channel "sles11-sp3-updates-x86_64-channel"
    features/step_definitions/salt_download_endpoint_steps.rb:4
  5. https://suma3pg.tf.local/rhn/manager/download/sles11-sp3-updates-x86_64-channel/getPackage/virgo-dummy-2.0-1.1.noarch.rpm?eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJvcmciOjF9._dFG2rFxg7HQ2Ph1fP7S9LPHiWmvp-tpE1ETVaEEJds
  6. And the download should get no error
    features/step_definitions/salt_download_endpoint_steps.rb:26
features/salt_download_endpoint.feature:15

Scenario: user with an invalid token for the org

  1. Given I have an invalid token for organization "1"
    features/step_definitions/download_token_steps.rb:24
  2. This scenario ran at: 2016-10-25 12:49:59 +0000
  3. 26a7f6cd6bd707c30fa951ab9479b6e75aa18536e91d772c50eef5d4029baada55c5ffe2026586925aa29619095ba13676e060e28ba61793ff2fe0fda9629b6d
  4. Then I try download "virgo-dummy-2.0-1.1.noarch.rpm" from channel "sles11-sp3-updates-x86_64-channel"
    features/step_definitions/salt_download_endpoint_steps.rb:4
  5. https://suma3pg.tf.local/rhn/manager/download/sles11-sp3-updates-x86_64-channel/getPackage/virgo-dummy-2.0-1.1.noarch.rpm?eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJvcmciOjF9.CnBMueH3R8H4esyJtGnlhiBFU1NMZeeWubZH0bnWJBM
  6. And the download should get a 403 response
    features/step_definitions/salt_download_endpoint_steps.rb:22
features/salt_download_endpoint.feature:20

Scenario: user with an expired valid token for the org

  1. Given I have an expired valid token for organization "1"
    features/step_definitions/download_token_steps.rb:28
  2. This scenario ran at: 2016-10-25 12:49:59 +0000
  3. 58bbe387049676c1b51f7dd4e67039a0b1c9d45ce43ad911a04f9fa5925a9567
  4. Then I try download "virgo-dummy-2.0-1.1.noarch.rpm" from channel "sles11-sp3-updates-x86_64-channel"
    features/step_definitions/salt_download_endpoint_steps.rb:4
  5. https://suma3pg.tf.local/rhn/manager/download/sles11-sp3-updates-x86_64-channel/getPackage/virgo-dummy-2.0-1.1.noarch.rpm?eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJvcmciOjEsImV4cCI6MTQ3NzMxMzM5OX0.KZOBgiggRjiXwerhDyfr6Q_i-aCDHynlnDj8denZBJM
  6. And the download should get a 403 response
    features/step_definitions/salt_download_endpoint_steps.rb:22
features/salt_download_endpoint.feature:25

Scenario: user with an non expired valid token for the org

  1. Given I have a valid token expiring tomorrow for organization "1"
    features/step_definitions/download_token_steps.rb:33
  2. This scenario ran at: 2016-10-25 12:50:00 +0000
  3. 58bbe387049676c1b51f7dd4e67039a0b1c9d45ce43ad911a04f9fa5925a9567
  4. Then I try download "virgo-dummy-2.0-1.1.noarch.rpm" from channel "sles11-sp3-updates-x86_64-channel"
    features/step_definitions/salt_download_endpoint_steps.rb:4
  5. https://suma3pg.tf.local/rhn/manager/download/sles11-sp3-updates-x86_64-channel/getPackage/virgo-dummy-2.0-1.1.noarch.rpm?eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJvcmciOjEsImV4cCI6MTQ3NzQ4NjIwMH0.4Tzg4773410rc-6LG5Uk6gchvzRxaonq3nikrw8DDzc
  6. And the download should get no error
    features/step_definitions/salt_download_endpoint_steps.rb:26
features/salt_download_endpoint.feature:30

Scenario: user with a valid token that cant be used until tomorrow for the org

  1. Given I have a not yet usable valid token for organization "1"
    features/step_definitions/download_token_steps.rb:38
  2. This scenario ran at: 2016-10-25 12:50:00 +0000
  3. 58bbe387049676c1b51f7dd4e67039a0b1c9d45ce43ad911a04f9fa5925a9567
  4. Then I try download "virgo-dummy-2.0-1.1.noarch.rpm" from channel "sles11-sp3-updates-x86_64-channel"
    features/step_definitions/salt_download_endpoint_steps.rb:4
  5. https://suma3pg.tf.local/rhn/manager/download/sles11-sp3-updates-x86_64-channel/getPackage/virgo-dummy-2.0-1.1.noarch.rpm?eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJvcmciOjEsIm5iZiI6MTQ3NzQ4NjIwMH0.j_rbXvR2ukKZ8Fx6GHL2t31YbPenXXSu0f7GHCVhgxg
  6. And the download should get a 403 response
    features/step_definitions/salt_download_endpoint_steps.rb:22
features/salt_download_endpoint.feature:35

Scenario: user with a valid token for the org and specific channels

  1. Given I have a valid token for organization "1" and channel "foobar"
    features/step_definitions/download_token_steps.rb:43
  2. This scenario ran at: 2016-10-25 12:50:00 +0000
  3. 58bbe387049676c1b51f7dd4e67039a0b1c9d45ce43ad911a04f9fa5925a9567
  4. Then I try download "virgo-dummy-2.0-1.1.noarch.rpm" from channel "sles11-sp3-updates-x86_64-channel"
    features/step_definitions/salt_download_endpoint_steps.rb:4
  5. https://suma3pg.tf.local/rhn/manager/download/sles11-sp3-updates-x86_64-channel/getPackage/virgo-dummy-2.0-1.1.noarch.rpm?eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJvcmciOiIxIiwib25seUNoYW5uZWxzIjpbImZvb2JhciJdfQ.o0gHU4M8BSBnf2NDGF2TPGBSbz8QnIjhzUXlnqORbGE
  6. And the download should get a 403 response
    features/step_definitions/salt_download_endpoint_steps.rb:22
# Copyright (c) 2016 SUSE LLC
# Licensed under the terms of the MIT license.

Feature: Check the Salt package state UI

In Order to test salt package states.
As the testing

features/salt_software_states.feature:8

Scenario: Subscribe to base channel

  1. Given I am on the Systems overview page of this minion
    features/step_definitions/salt_steps.rb:44
  2. This scenario ran at: 2016-10-25 12:50:00 +0000
  3. When I follow "Software" in the content area
    features/step_definitions/navigation_steps.rb:116
  4. Then I follow "Software Channels" in the content area
    features/step_definitions/navigation_steps.rb:116
  5. And I select "SLES11-SP3-Updates x86_64 Channel" from "new_base_channel_id"
    features/step_definitions/navigation_steps.rb:26
  6. And I click on "Confirm"
    features/step_definitions/navigation_steps.rb:50
  7. And I click on "Modify Base Software Channel"
    features/step_definitions/navigation_steps.rb:50
  8. And I should see a "System's Base Channel has been updated." text
    features/step_definitions/content_steps.rb:20
features/salt_software_states.feature:17

Scenario: Test package removal through the UI

  1. Given I am on the Systems overview page of this minion
    features/step_definitions/salt_steps.rb:44
  2. This scenario ran at: 2016-10-25 12:50:02 +0000
  3. Then I follow "States" in the content area
    features/step_definitions/navigation_steps.rb:116
  4. And I should see a "Package States" text
    features/step_definitions/content_steps.rb:20
  5. And I list packages with "dummy"
    features/step_definitions/salt_software_states.rb:6
  6. Then I should see a "milkyway-dummy" text
    features/step_definitions/content_steps.rb:20
  7. And "milkyway-dummy" is installed on "minion"
    features/step_definitions/content_steps.rb:247
  8. And I change the state of "milkyway-dummy" to "Removed" and ""
    features/step_definitions/salt_software_states.rb:11
  9. Then I should see a "1 Changes" text
    features/step_definitions/content_steps.rb:20
  10. And I click save
    features/step_definitions/salt_software_states.rb:69
  11. And I click apply
    features/step_definitions/salt_software_states.rb:65
  12. And "milkyway-dummy" is not installed
    features/step_definitions/salt_software_states.rb:21
features/salt_software_states.feature:30

Scenario: Test package installation through the UI

  1. Given I am on the Systems overview page of this minion
    features/step_definitions/salt_steps.rb:44
  2. This scenario ran at: 2016-10-25 12:50:20 +0000
  3. Then I follow "States" in the content area
    features/step_definitions/navigation_steps.rb:116
  4. And I should see a "Package States" text
    features/step_definitions/content_steps.rb:20
  5. And I list packages with "dummy"
    features/step_definitions/salt_software_states.rb:6
  6. Then I should see a "milkyway-dummy" text
    features/step_definitions/content_steps.rb:20
  7. And "milkyway-dummy" is not installed
    features/step_definitions/salt_software_states.rb:21
  8. And I change the state of "milkyway-dummy" to "Installed" and ""
    features/step_definitions/salt_software_states.rb:11
  9. Then I should see a "1 Changes" text
    features/step_definitions/content_steps.rb:20
  10. And I click save
    features/step_definitions/salt_software_states.rb:69
  11. And I click apply
    features/step_definitions/salt_software_states.rb:65
  12. And I wait for "milkyway-dummy" to be installed
    features/step_definitions/salt_software_states.rb:40
features/salt_software_states.feature:43

Scenario: Test package installation with any through the UI

  1. Given I am on the Systems overview page of this minion
    features/step_definitions/salt_steps.rb:44
  2. This scenario ran at: 2016-10-25 12:50:54 +0000
  3. Then I follow "States" in the content area
    features/step_definitions/navigation_steps.rb:116
  4. And I should see a "Package States" text
    features/step_definitions/content_steps.rb:20
  5. And I list packages with "dummy"
    features/step_definitions/salt_software_states.rb:6
  6. Then I should see a "virgo-dummy" text
    features/step_definitions/content_steps.rb:20
  7. And "virgo-dummy-1.0" is installed on "minion"
    features/step_definitions/content_steps.rb:247
  8. And I change the state of "virgo-dummy" to "Installed" and "Any"
    features/step_definitions/salt_software_states.rb:11
  9. Then I should see a "1 Changes" text
    features/step_definitions/content_steps.rb:20
  10. And I click save
    features/step_definitions/salt_software_states.rb:69
  11. And I click apply
    features/step_definitions/salt_software_states.rb:65
  12. And I wait for "virgo-dummy-1.0" to be installed
    features/step_definitions/salt_software_states.rb:40
features/salt_software_states.feature:56

Scenario: Test package upgrade through the UI

  1. Given I am on the Systems overview page of this minion
    features/step_definitions/salt_steps.rb:44
  2. This scenario ran at: 2016-10-25 12:51:11 +0000
  3. Then I follow "States" in the content area
    features/step_definitions/navigation_steps.rb:116
  4. And I should see a "Package States" text
    features/step_definitions/content_steps.rb:20
  5. And I list packages with "dummy"
    features/step_definitions/salt_software_states.rb:6
  6. Then I should see a "andromeda-dummy" text
    features/step_definitions/content_steps.rb:20
  7. And "andromeda-dummy-1.0-4.1" is installed on "minion"
    features/step_definitions/content_steps.rb:247
  8. And I change the state of "andromeda-dummy" to "Installed" and "Latest"
    features/step_definitions/salt_software_states.rb:11
  9. Then I should see a "1 Changes" text
    features/step_definitions/content_steps.rb:20
  10. And I click save
    features/step_definitions/salt_software_states.rb:69
  11. And I click apply
    features/step_definitions/salt_software_states.rb:65
  12. And I wait for "andromeda-dummy-2.0-1.1" to be installed
    features/step_definitions/salt_software_states.rb:40
features/salt_software_states.feature:69

Scenario: I verify the system status of the salt ui

  1. Given I am on the Systems overview page of this minion
    features/step_definitions/salt_steps.rb:44
  2. This scenario ran at: 2016-10-25 12:51:29 +0000
  3. Then I follow "States" in the content area
    features/step_definitions/navigation_steps.rb:116
  4. And I should see a "Package States" text
    features/step_definitions/content_steps.rb:20
  5. And I should see a "milkyway-dummy" text
    features/step_definitions/content_steps.rb:20
  6. And I should see a "andromeda-dummy" text
    features/step_definitions/content_steps.rb:20
  7. And I should see a "virgo-dummy" text
    features/step_definitions/content_steps.rb:20
# Copyright (c) 2016 SUSE LLC
# Licensed under the terms of the MIT license.

Feature: System package list in the UI is updated if packages are manually installed/removed using zypper or yum

features/salt_pkgset_beacon.feature:6

Scenario: Manually removing a package in a minion

  1. Given this minion key is accepted
    features/step_definitions/salt_steps.rb:133
  2. This scenario ran at: 2016-10-25 12:51:30 +0000
  3. And I am on the Systems overview page of this minion
    features/step_definitions/salt_steps.rb:44
  4. When I follow "Software"
    features/step_definitions/navigation_steps.rb:61
  5. And I follow "List / Remove"
    features/step_definitions/navigation_steps.rb:61
  6. And I enter "milkyway-dummy" in the css "input[placeholder='Filter by Package Name: ']"
    features/step_definitions/salt_states_catalog_steps.rb:14
  7. And I click on the css "button.spacewalk-button-filter"
    features/step_definitions/salt_states_catalog_steps.rb:10
  8. And I should see a "milkyway-dummy" text
    features/step_definitions/content_steps.rb:20
  9. Then I manually remove the "milkyway-dummy" package in the minion
    features/step_definitions/salt_pkgset_beacon_steps.rb:15
  10. And I click on the css "button.spacewalk-button-filter" until page does not contain "milkyway-dummy" text
    features/step_definitions/salt_pkgset_beacon_steps.rb:26
features/salt_pkgset_beacon.feature:17

Scenario: Manually installing a package in a minion

  1. Given this minion key is accepted
    features/step_definitions/salt_steps.rb:133
  2. This scenario ran at: 2016-10-25 12:51:49 +0000
  3. And I am on the Systems overview page of this minion
    features/step_definitions/salt_steps.rb:44
  4. When I follow "Software"
    features/step_definitions/navigation_steps.rb:61
  5. And I follow "List / Remove"
    features/step_definitions/navigation_steps.rb:61
  6. And I enter "milkyway-dummy" in the css "input[placeholder='Filter by Package Name: ']"
    features/step_definitions/salt_states_catalog_steps.rb:14
  7. And I click on the css "button.spacewalk-button-filter"
    features/step_definitions/salt_states_catalog_steps.rb:10
  8. And I should not see a "milkyway-dummy" text
    features/step_definitions/content_steps.rb:55
  9. Then I manually install the "milkyway-dummy" package in the minion
    features/step_definitions/salt_pkgset_beacon_steps.rb:4
  10. And I click on the css "button.spacewalk-button-filter" until page does not contain "milkyway-dummy" text
    features/step_definitions/salt_pkgset_beacon_steps.rb:26
# Copyright (c) 2015 SUSE LLC
# Licensed under the terms of the MIT license.

Feature: Test the remote commands via salt

In Order to test the remote commands via salt
As an authorized user
I want to verify that the remote commands function works

features/salt_remote_cmds.feature:9

Scenario: Run a remote command

  1. And I am authorized as "testing" with password "testing"
    features/step_definitions/log_in_out_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:52:01 +0000
  3. Given I follow "Salt"
    features/step_definitions/navigation_steps.rb:61
  4. And I follow "Remote Commands"
    features/step_definitions/navigation_steps.rb:61
  5. And I should see a "Remote Commands" text
    features/step_definitions/content_steps.rb:20
  6. Then I enter command "ls -lha /etc"
    features/step_definitions/salt_remote_cmds.rb:29
  7. And I click on preview
    features/step_definitions/salt_remote_cmds.rb:5
  8. Then I should see my hostname
    features/step_definitions/salt_remote_cmds.rb:13
  9. And I click on run
    features/step_definitions/salt_remote_cmds.rb:9
  10. Then I wait for "3" seconds
    features/step_definitions/common_steps.rb:4
  11. And I expand the results
    features/step_definitions/salt_remote_cmds.rb:21
    Unable to find css "div[id='minion12sp1']" (Capybara::ElementNotFound)
    ./features/step_definitions/salt_remote_cmds.rb:22:in `/^I expand the results$/'
    features/salt_remote_cmds.feature:19:in `And I expand the results'
    20
    21When(/^I expand the results$/) do
    22   find("div[id='#{$minion_hostname}']").click
    23end
    24
    25# gem install syntax to get syntax highlighting
  12. Then I should see "SuSE-release" in the command output
    features/step_definitions/salt_remote_cmds.rb:33
Screenshot
 
features/salt_remote_cmds.feature:22

Scenario: Run a remote command as non authorized user

  1. Given I am authorized as an example user with no roles
    features/step_definitions/user_steps.rb:2
  2. This scenario ran at: 2016-10-25 12:52:16 +0000
  3. And I follow "Salt"
    features/step_definitions/navigation_steps.rb:61
  4. And I follow "Remote Commands"
    features/step_definitions/navigation_steps.rb:61
  5. And I should see a "Remote Commands" text
    features/step_definitions/content_steps.rb:20
  6. And I click on preview
    features/step_definitions/salt_remote_cmds.rb:5
  7. Then I should not see my hostname
    features/step_definitions/salt_remote_cmds.rb:17
  8. And I can cleanup the no longer needed user
    features/step_definitions/user_steps.rb:10
features/salt_remote_cmds.feature:31

Scenario: Run a remote command from the systems overview page

  1. Given I am authorized as "testing" with password "testing"
    features/step_definitions/log_in_out_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:52:26 +0000
  3. And I follow "Systems"
    features/step_definitions/navigation_steps.rb:61
  4. Then I follow this minion link
    features/step_definitions/salt_steps.rb:52
  5. When I follow "Remote Command" in the content area
    features/step_definitions/navigation_steps.rb:116
  6. And I enter as remote command this script in
    features/step_definitions/action_chain_steps.rb:13
    #!/bin/bash
    touch /root/12345
  7. And I click on "Schedule"
    features/step_definitions/navigation_steps.rb:50
  8. Then I should see a "Remote Command has been scheduled successfully" text
    features/step_definitions/content_steps.rb:20
  9. And "/root/12345" exists on the filesystem
    features/step_definitions/salt_remote_cmds.rb:39
  10. And I follow "Events" in the content area
    features/step_definitions/navigation_steps.rb:116
  11. And I follow "History" in the content area
    features/step_definitions/navigation_steps.rb:116
  12. Then I follow "Run an arbitrary script scheduled by testing" in the content area
    features/step_definitions/navigation_steps.rb:116
  13. And I should see a "Script executed successfully." text
    features/step_definitions/content_steps.rb:20
  14. And I should see a "Return Code: 0" text
    features/step_definitions/content_steps.rb:20
# Copyright (c) 2015 SUSE LLC
# Licensed under the terms of the MIT license.

Feature: Install a patch the client via salt through the UI

features/salt_install_package.feature:6

Scenario: wait for taskomatic finished required jobs

  1. Given Patches are visible for the registered client
    features/step_definitions/errata_steps.rb:23
  2. This scenario ran at: 2016-10-25 12:52:29 +0000
features/salt_install_package.feature:9

Scenario: Install an erratum to the minion

  1. Given I am on the Systems overview page of this minion
    features/step_definitions/salt_steps.rb:44
  2. This scenario ran at: 2016-10-25 12:52:30 +0000
  3. And I follow "Software" in the content area
    features/step_definitions/navigation_steps.rb:116
  4. And I follow "Errata" in the content area
    features/step_definitions/navigation_steps.rb:116
  5. When I check "virgo-dummy-3456" in the list
    features/step_definitions/content_steps.rb:264
  6. And I click on "Apply Errata"
    features/step_definitions/navigation_steps.rb:50
  7. And I click on "Confirm"
    features/step_definitions/navigation_steps.rb:50
  8. And I wait for "5" seconds
    features/step_definitions/common_steps.rb:4
  9. Then I should see a "1 errata update has been scheduled for" text
    features/step_definitions/content_steps.rb:20
  10. And I wait for "virgo-dummy-2.0-1.1" to be installed
    features/step_definitions/salt_software_states.rb:40
# Copyright (c) 2016 SUSE LLC
# Licensed under the terms of the MIT license.

Feature: Check the Salt package state UI

In Order to test salt states catalog
As the testing user

features/salt_states_catalog.feature:8

Scenario: Verify the states catalog UI

  1. Given I am authorized as "testing" with password "testing"
    features/step_definitions/log_in_out_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:52:52 +0000
  3. Then I follow "Salt"
    features/step_definitions/navigation_steps.rb:61
  4. And I follow "State Catalog"
    features/step_definitions/navigation_steps.rb:61
  5. And I should see a "State Catalog" text
    features/step_definitions/content_steps.rb:20
  6. And I should see a "Items 0 - 0 of 0" text
    features/step_definitions/content_steps.rb:20
features/salt_states_catalog.feature:15

Scenario: I add a state through the UI

  1. Given I am authorized as "testing" with password "testing"
    features/step_definitions/log_in_out_steps.rb:4
  2. This scenario ran at: 2016-10-25 12:52:53 +0000
  3. Then I follow "Salt"
    features/step_definitions/navigation_steps.rb:61
  4. And I follow "State Catalog"
    features/step_definitions/navigation_steps.rb:61
  5. And I should see a "State Catalog" text
    features/step_definitions/content_steps.rb:20
  6. And I follow "Create State"
    features/step_definitions/navigation_steps.rb:61
  7. Then I should see a "Create State" text
    features/step_definitions/content_steps.rb:20
  8. And I should see a "Name*:" text
    features/step_definitions/content_steps.rb:20
  9. And I should see a "Content*:" text
    features/step_definitions/content_steps.rb:20
  10. And I enter "teststate" in the css "input[name='name']"
    features/step_definitions/salt_states_catalog_steps.rb:14
  11. And I enter the salt state
    features/step_definitions/salt_states_catalog_steps.rb:3
    touch /root/foobar:
      cmd.run:
        - creates: /root/foobar
  12. And I click on the css "button#save-btn"
    features/step_definitions/salt_states_catalog_steps.rb:10
  13. Then I should see a "State 'teststate' saved" text
    features/step_definitions/content_steps.rb:20
features/salt_states_catalog.feature:34

Scenario: I add a apply a state via the UI

  1. Given I am on the Systems overview page of this minion
    features/step_definitions/salt_steps.rb:44
  2. This scenario ran at: 2016-10-25 12:52:54 +0000
  3. And I follow "States"
    features/step_definitions/navigation_steps.rb:61
  4. Then I follow "Custom"
    features/step_definitions/navigation_steps.rb:61
  5. And I should see a "Custom States" text
    features/step_definitions/content_steps.rb:20
  6. And I click on the css "button#search-states"
    features/step_definitions/salt_states_catalog_steps.rb:10
  7. Then I should see a "teststate" text
    features/step_definitions/content_steps.rb:20
  8. And I select the state "teststate"
    features/step_definitions/salt_states_catalog_steps.rb:18
  9. Then I should see a "1 Changes" text
    features/step_definitions/content_steps.rb:20
  10. And I click on the css "button#save-btn"
    features/step_definitions/salt_states_catalog_steps.rb:10
  11. And I click on the css "button#apply-btn"
    features/step_definitions/salt_states_catalog_steps.rb:10
  12. Then I wait for the file "/root/foobar"
    features/step_definitions/salt_states_catalog_steps.rb:22